diff --git a/components/AssignedCrew.vue b/components/AssignedCrew.vue index bc0cd61..481dd67 100644 --- a/components/AssignedCrew.vue +++ b/components/AssignedCrew.vue @@ -29,7 +29,6 @@ defineProps<{ edit?: boolean }>(); const usersStore = useUsersStore(); -await usersStore.fetch(); const assignedIds = defineModel>({ required: true }); const assigned = computed( () => [...assignedIds.value].map( diff --git a/components/CardEvent.vue b/components/CardEvent.vue index 1a81b64..11feb85 100644 --- a/components/CardEvent.vue +++ b/components/CardEvent.vue @@ -53,7 +53,6 @@ defineProps<{ const accountStore = useAccountStore(); const usersStore = useUsersStore(); -await usersStore.fetch(); function formatTime(time: DateTime) { return time.toFormat("yyyy-LL-dd HH:mm"); diff --git a/components/CardShift.vue b/components/CardShift.vue index a65210e..ac5c4e9 100644 --- a/components/CardShift.vue +++ b/components/CardShift.vue @@ -27,9 +27,7 @@ defineProps<{ shift: ClientScheduleShift }>() -const accountStore = useAccountStore(); const usersStore = useUsersStore(); -await usersStore.fetch(); function formatTime(time: DateTime) { return time.toFormat("yyyy-LL-dd HH:mm"); diff --git a/components/TableScheduleEventSlots.vue b/components/TableScheduleEventSlots.vue index f7a9916..5661865 100644 --- a/components/TableScheduleEventSlots.vue +++ b/components/TableScheduleEventSlots.vue @@ -215,7 +215,6 @@ interface Gap { const accountStore = useAccountStore(); const usersStore = useUsersStore(); -await usersStore.fetch(); const schedule = await useSchedule(); const oneDayMs = 24 * 60 * 60 * 1000; diff --git a/components/TableScheduleShiftSlots.vue b/components/TableScheduleShiftSlots.vue index 0369a6c..a2e745e 100644 --- a/components/TableScheduleShiftSlots.vue +++ b/components/TableScheduleShiftSlots.vue @@ -209,7 +209,6 @@ interface Gap { const accountStore = useAccountStore(); const usersStore = useUsersStore(); -await usersStore.fetch(); const schedule = await useSchedule(); const oneDayMs = 24 * 60 * 60 * 1000; diff --git a/components/TableUsers.vue b/components/TableUsers.vue index af76875..7e8d006 100644 --- a/components/TableUsers.vue +++ b/components/TableUsers.vue @@ -55,7 +55,6 @@