From 2e3f77c8f3feb6995fe385e6d4eebb9bdd3e1036 Mon Sep 17 00:00:00 2001 From: Frank Jogeleit Date: Fri, 13 Sep 2024 13:02:39 +0200 Subject: [PATCH] update status select --- frontend/composables/router.ts | 2 +- frontend/modules/core/components/form/StatusSelect.vue | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/composables/router.ts b/frontend/composables/router.ts index ec8bb6b..88fb8b3 100644 --- a/frontend/composables/router.ts +++ b/frontend/composables/router.ts @@ -25,7 +25,7 @@ export const defineRouteQuery = (key: string, selected: Ref) => { selected.value = inp - router.push({ name: route.name as string, query: { ...route.query, [key]: inp }, params: route.params }) + return router.push({ name: route.name as string, query: { ...route.query, [key]: inp }, params: route.params }) } } diff --git a/frontend/modules/core/components/form/StatusSelect.vue b/frontend/modules/core/components/form/StatusSelect.vue index 368de60..bf19aaa 100644 --- a/frontend/modules/core/components/form/StatusSelect.vue +++ b/frontend/modules/core/components/form/StatusSelect.vue @@ -26,9 +26,9 @@