Snad fix 404ky

This commit is contained in:
Michal Kváček
2024-02-01 17:32:12 +01:00
parent d69ceac14b
commit b22773b2ae
8 changed files with 66 additions and 32 deletions
+2 -3
View File
@@ -5,12 +5,11 @@ import {paginationLimit, paginationOffset} from "src/composables/pagination";
export const useAppStore = defineStore('App', () => {
const pageTitle = ref(null);
const breadcrumbs = ref(null);
const appStatus = ref(200); // TODO: toto nejspis nebude potreba!
const appStatus = ref(200);
const resetAfterRouteChange = () => {
console.log("reset after route change");
pageTitle.value = null;
appStatus.value = 200;
// appStatus.value = 200; // tohle dela problem pri renderu 404 na serveru
breadcrumbs.value = null;
// reset strankovani po prechodu na strankach