Vylepseni SSR, pridani meta informaci, zatim dost WIP
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user