refactor: remove redundant admin checks from pages (now handled by router)

This commit is contained in:
mono
2026-03-15 23:54:34 -05:00
parent c1fccc4d53
commit faa5cf1a46
7 changed files with 0 additions and 35 deletions

View File

@@ -9,10 +9,5 @@
const authStore = useAuthStore();
return { authStore };
},
mounted() {
if (!this.authStore.isAdmin) {
this.$router.push('/');
}
},
}
</script>