Skip to content

Commit

Permalink
🔨 Don't clear calendar events on saving schedule
Browse files Browse the repository at this point in the history
  • Loading branch information
devmount committed May 31, 2024
1 parent ac4b47d commit 2ff3304
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion frontend/src/views/ScheduleView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ const schedules = ref([]);
const firstSchedule = computed(() => (schedules.value?.length > 0 ? schedules.value[0] : null));
const schedulesReady = ref(false);
const getFirstSchedule = async () => {
calendarEvents.value = [];
// trailing slash to prevent fast api redirect which doesn't work great on our container setup
const { data } = await call('schedule/').get().json();
schedules.value = data.value;
Expand Down

0 comments on commit 2ff3304

Please sign in to comment.