button left for responsive
This commit is contained in:
parent
482383103a
commit
42ec394a26
|
@ -108,7 +108,7 @@ class ClientShifts extends Component {
|
||||||
this.props.dispatch(setCShiftPage(1));
|
this.props.dispatch(setCShiftPage(1));
|
||||||
};
|
};
|
||||||
|
|
||||||
handleChangeWorkTypeFilter = (event, {value}) => {
|
handleChangeWorkTypeFilter = (event, { value }) => {
|
||||||
this.props.dispatch(
|
this.props.dispatch(
|
||||||
getCShiftsRequest({
|
getCShiftsRequest({
|
||||||
page: 1,
|
page: 1,
|
||||||
|
@ -121,7 +121,7 @@ class ClientShifts extends Component {
|
||||||
);
|
);
|
||||||
this.props.dispatch(setCShiftWorkTypeFilter(value));
|
this.props.dispatch(setCShiftWorkTypeFilter(value));
|
||||||
this.props.dispatch(setCShiftPage(1));
|
this.props.dispatch(setCShiftPage(1));
|
||||||
}
|
};
|
||||||
|
|
||||||
deleteCShift = uuid => {
|
deleteCShift = uuid => {
|
||||||
this.props.dispatch(deleteCShiftRequest(uuid));
|
this.props.dispatch(deleteCShiftRequest(uuid));
|
||||||
|
@ -230,18 +230,16 @@ const ClientShiftsView = ({
|
||||||
<Container>
|
<Container>
|
||||||
<Header>Shifts</Header>
|
<Header>Shifts</Header>
|
||||||
<Segment.Group horizontal>
|
<Segment.Group horizontal>
|
||||||
<Segment>
|
|
||||||
<Button
|
<Button
|
||||||
|
attached="left"
|
||||||
basic
|
basic
|
||||||
color="green"
|
color="green"
|
||||||
size="small"
|
|
||||||
as={Link}
|
as={Link}
|
||||||
to="/user/profile/client/add-shift"
|
to="/user/profile/client/add-shift"
|
||||||
>
|
>
|
||||||
Schedule Shift
|
Schedule Shift
|
||||||
</Button>
|
</Button>
|
||||||
</Segment>
|
<Segment>
|
||||||
<Segment textAlign="right">
|
|
||||||
{"Filter by Approval "}
|
{"Filter by Approval "}
|
||||||
<Dropdown
|
<Dropdown
|
||||||
inline
|
inline
|
||||||
|
|
Loading…
Reference in New Issue
Block a user