Skip to content

Commit

Permalink
update status select
Browse files Browse the repository at this point in the history
  • Loading branch information
fjogeleit committed Sep 13, 2024
1 parent e97cf7e commit 2e3f77c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion frontend/composables/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const defineRouteQuery = (key: string, selected: Ref<string[]>) => {

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 })
}
}

Expand Down
4 changes: 2 additions & 2 deletions frontend/modules/core/components/form/StatusSelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
<script lang="ts" setup>
import {Status} from "../../types";
const props = defineProps<{ source?: string; modelValue?: string[] }>();
const props = defineProps<{ source?: string; modelValue?: Status[] }>();
const selected = ref<string[]>(props.modelValue || []);
const selected = ref<Status[]>(props.modelValue || []);
const items: Status[] = [
Status.PASS,
Expand Down

0 comments on commit 2e3f77c

Please sign in to comment.