BUGFIX: navigation drawback on token refresh

This commit is contained in:
Julian Krauser 2024-09-27 15:54:33 +02:00
parent 27a4d2187d
commit efd66f071c

View file

@ -118,7 +118,7 @@ export const useNavigationStore = defineStore("navigation", {
],
},
} as navigationModel;
if (this.topLevel.findIndex((e) => e.key == this.activeLink) == -1 && !first)
if (this.activeNavigationObject.main.findIndex((e) => e.key == this.activeLink) == -1 && !first)
router.push({ name: `admin-${this.activeNavigation}-default` });
},
},