CLEANUP Schedule modal now using redux. Deleted manual schedule modal. To be incorporated into generic.

This commit is contained in:
Patrick Fic
2020-04-02 12:37:15 -07:00
parent 828ca721db
commit 7254622f52
12 changed files with 177 additions and 322 deletions

View File

@@ -12,7 +12,8 @@ const INITIAL_STATE = {
jobLineEdit: { ...baseModal },
invoiceEnter: { ...baseModal },
courtesyCarReturn: { ...baseModal },
noteUpsert: { ...baseModal }
noteUpsert: { ...baseModal },
schedule: { ...baseModal }
};
const modalsReducer = (state = INITIAL_STATE, action) => {

View File

@@ -21,3 +21,8 @@ export const selectNoteUpsert = createSelector(
[selectModals],
modals => modals.noteUpsert
);
export const selectSchedule = createSelector(
[selectModals],
modals => modals.schedule
);