Skip to content

Commit

Permalink
Issue #596: Fix of the reloading of the table when delete
Browse files Browse the repository at this point in the history
  • Loading branch information
KattisLej committed Sep 7, 2022
1 parent a902502 commit c054404
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/pages/VacationPlanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -151,12 +151,12 @@ export const VacationPlanner = () => {
message: "Absence period was successfully removed",
},
]);
setReloadPage(!reloadPage);
}
};

const onRemoveEntriesButton = async (entryIds: number[]) => {
await removeTimeEntries(entryIds);
setReloadPage(!reloadPage);
};

const getVacationRanges = (entries: FetchedTimeEntry[]) => {
Expand Down

0 comments on commit c054404

Please sign in to comment.