diff --git a/frontend/src/composables/useNavigations.ts b/frontend/src/composables/useNavigations.ts index e699b611..c98a0a54 100644 --- a/frontend/src/composables/useNavigations.ts +++ b/frontend/src/composables/useNavigations.ts @@ -18,7 +18,6 @@ const main_navigations: NavigationData[] = [ { icon: "mdi-school-outline", title: "navigation.subjects", goto: "subjects" }, { icon: "mdi-book-check-outline", title: "navigation.projects", goto: "projects" }, { icon: "mdi-information-outline", title: "navigation.about", goto: "about" }, - { icon: "mdi-cog-outline", title: "navigation.settings", goto: "settings" }, ]; const admin_navigations: NavigationData[] = [ diff --git a/frontend/src/router/index.ts b/frontend/src/router/index.ts index aaa0e90c..41a65abd 100644 --- a/frontend/src/router/index.ts +++ b/frontend/src/router/index.ts @@ -166,11 +166,6 @@ const router = createRouter({ component: () => import("../views/SubjectRegisterView.vue"), props: (route) => ({ uuid: String(route.params.uuid) }), }, - { - path: "/settings", - name: "settings", - component: () => import("../views/SettingsView.vue"), - }, { path: "/admin", name: "admin", @@ -205,7 +200,7 @@ router.beforeEach(async (to, from, next) => { } let new_next = next; - for (let middleware of middlewares) { + for (const middleware of middlewares) { const context: MiddlewareContext = { to, from, next: new_next, router }; const { next: returned_next, final } = await middleware(context); if (final) { diff --git a/frontend/src/views/ProjectsView.vue b/frontend/src/views/ProjectsView.vue index 862ea6b8..08989df8 100644 --- a/frontend/src/views/ProjectsView.vue +++ b/frontend/src/views/ProjectsView.vue @@ -1,16 +1,15 @@