1
0
mirror of https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git synced 2025-08-14 00:25:46 +02:00

Починка админки полностью1д9l92в

This commit is contained in:
MoonTestUse1
2025-01-01 23:21:23 +06:00
parent 814e8a252f
commit a8e32d2f36
2 changed files with 1 additions and 7 deletions

View File

@@ -43,7 +43,7 @@ const router = createRouter({
]
});
router.beforeEach((to, from, next) => {
router.beforeEach((to, _, next) => {
const authStore = useAuthStore();
if (to.meta.requiresAdmin && !authStore.isAdmin) {