one-zero-eight / website

InNoHassle website for accessing ecosystem services at Innopolis University. Student dashboard, personal schedule, room booking, interactive maps, and more.
https://innohassle.ru
MIT License
10 stars 4 forks source link

[Room-Booking] Re-fetch bookings #160

Closed ArtemSBulgakov closed 3 weeks ago

ArtemSBulgakov commented 1 month ago

Bug description

When the user doesn't close the tab, the data doesn't update. So, if the user returns to that tab in several hours or days, the events are outdated.

Suggested solution

We need to fetch bookings using React Query (with correct configuration) and refactor BookingTimeline.vue to accept bookings via prop.