Skip to content

Commit

Permalink
fix(room-booking): refresh window to update bookings list
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtemSBulgakov committed Oct 16, 2024
1 parent e85f832 commit 7a516e4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/room-booking/BookModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,10 @@ export function BookModal({
{
onSuccess: () => {
setTitle("");
onOpenChange(false);
reset();
// Refresh window to update caches in Vue
window.location.reload();
onOpenChange(false);
},
},
);
Expand Down

0 comments on commit 7a516e4

Please sign in to comment.