button left for responsive

This commit is contained in:
Alexander Wong 2018-04-23 16:35:24 -06:00
parent 482383103a
commit 42ec394a26
No known key found for this signature in database
GPG Key ID: E90E5D6448C2C663

View File

@ -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>
<Button
attached="left"
basic
color="green"
as={Link}
to="/user/profile/client/add-shift"
>
Schedule Shift
</Button>
<Segment> <Segment>
<Button
basic
color="green"
size="small"
as={Link}
to="/user/profile/client/add-shift"
>
Schedule Shift
</Button>
</Segment>
<Segment textAlign="right">
{"Filter by Approval "} {"Filter by Approval "}
<Dropdown <Dropdown
inline inline