8315-devToTest #1094

Merged
alexm merged 253 commits from 8315-devToTest into test 2024-12-18 10:31:55 +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,
};
});