Vylepseni SSR, pridani meta informaci, zatim dost WIP

This commit is contained in:
Michal Kváček
2023-11-28 11:35:53 +01:00
parent 86605ad53e
commit 11cc6ad107
28 changed files with 371 additions and 403 deletions
+2 -2
View File
@@ -10,11 +10,11 @@ export const useEventsStore = defineStore('Events', () => {
const isMutationRunning = ref(false);
const isQueryRunning = ref(false);
const fetchDetail = (id) => {
const fetchDetail = (id, username) => {
return query({
isQueryRunning,
query: EVENT_DETAIL,
variables: {id},
variables: {id, username},
}).then(item => event.value = item);
};