From 25482b67caae86b3dbe76f686371eee897ded819 Mon Sep 17 00:00:00 2001 From: axolotle Date: Sat, 6 Jul 2024 15:57:47 +0200 Subject: [PATCH] refactor: add useInitialQueries composable to replace ViewBase queries handling --- app/src/components/globals/ViewBase.vue | 64 +++++------------------- app/src/composables/useInitialQueries.ts | 41 +++++++++++++++ 2 files changed, 53 insertions(+), 52 deletions(-) create mode 100644 app/src/composables/useInitialQueries.ts diff --git a/app/src/components/globals/ViewBase.vue b/app/src/components/globals/ViewBase.vue index e30138e5..ca870c6b 100644 --- a/app/src/components/globals/ViewBase.vue +++ b/app/src/components/globals/ViewBase.vue @@ -1,22 +1,15 @@