#8002 addSupportService #894

Merged
jorgep merged 17 commits from xxxx-addSupportService into dev 2024-12-11 09:49:41 +00:00
1 changed files with 1 additions and 4 deletions
Showing only changes of commit 81f1c447ad - Show all commits

View File

@ -3,9 +3,7 @@ import { defineStore } from 'pinia';
export const useStateQueryStore = defineStore('stateQueryStore', () => {
const queries = ref(new Set());
const route = computed(() =>
Array.from(queries.value).find((query) => query?.fullPath)
);
function add(query) {
queries.value.add(query);
return query;
@ -29,6 +27,5 @@ export const useStateQueryStore = defineStore('stateQueryStore', () => {
remove,
queries,
reset,
route,
};
});