Working delete shifts functionality

This commit is contained in:
Alexander Wong
2018-04-22 22:10:46 -06:00
parent 4f548d529f
commit 2b15495072
10 changed files with 177 additions and 34 deletions
@@ -111,7 +111,6 @@ class ClientEditShiftForm extends Component {
description: note ? note : undefined
});
}
console.log({ ...postRequestBodies[0], uuid: cShiftUUID })
this.props.dispatch(
editCShiftRequest({ ...postRequestBodies[0], uuid: cShiftUUID })
);
@@ -196,7 +195,7 @@ class ClientEditShiftForm extends Component {
priceUUID={priceUUID}
startTime={startTime}
duration={duration}
note={note}
note={note || ""}
selectedShiftDates={selectedShiftDates}
changeSelectedEmployee={this.changeSelectedEmployee}
changeSelectedPrice={this.changeSelectedPrice}