Snad fix 404ky
This commit is contained in:
+2
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user