mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender.git
synced 2025-07-23 13:08:48 +02:00
configure tanstack query
This commit is contained in:
@ -4,6 +4,7 @@ import { RouteRecordName, RouterView } from "vue-router";
|
||||
import CalendarPreview from "./components/CalendarPreview.vue";
|
||||
import moduleStore from "./store/moduleStore.ts";
|
||||
import { provide, ref } from "vue";
|
||||
import { VueQueryDevtools } from "@tanstack/vue-query-devtools";
|
||||
|
||||
const disabledPages = [
|
||||
"room-finder",
|
||||
@ -45,6 +46,8 @@ window.addEventListener("resize", updateMobile);
|
||||
</RouterView>
|
||||
<!-- show CalendarPreview but only on specific router views -->
|
||||
<CalendarPreview v-if="isDisabled($route.name)" />
|
||||
|
||||
<VueQueryDevtools />
|
||||
<Toast />
|
||||
</template>
|
||||
|
||||
|
Reference in New Issue
Block a user