1
0
mirror of https://gitlab.com/ceda_ei/sonzai.git synced 2025-11-04 17:10:05 +01:00

Redo HomeScreen with DataTable. Add Remove in Dialog. Add remove reducer

This commit is contained in:
2020-03-24 23:47:54 +05:30
parent 7d5d680a68
commit 1dcc917825
3 changed files with 86 additions and 15 deletions

View File

@@ -22,6 +22,8 @@ export default function timetable(state, action) {
}],
...(state.slice(action.day + 1))
];
case "REMOVE_TIMETABLE_ENTRY":
return state.map(i => i.filter(j => j.id !== action.id));
default:
return state;
}