BUGFIX: navigation drawback on token refresh
This commit is contained in:
parent
27a4d2187d
commit
efd66f071c
1 changed files with 1 additions and 1 deletions
|
@ -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` });
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue