From dc88126b6c679d23c250f4c55bd0d6af9994e23a Mon Sep 17 00:00:00 2001 From: ajdj100 Date: Thu, 11 Dec 2025 22:26:33 -0500 Subject: [PATCH] Added documents site link --- ui/src/components/Navigation/Navbar.vue | 4 +++- ui/src/router/index.js | 7 ++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/ui/src/components/Navigation/Navbar.vue b/ui/src/components/Navigation/Navbar.vue index de62765..917a285 100644 --- a/ui/src/components/Navigation/Navbar.vue +++ b/ui/src/components/Navigation/Navbar.vue @@ -25,6 +25,8 @@ const auth = useAuth(); //@ts-ignore const APIHOST = import.meta.env.VITE_APIHOST; +//@ts-ignore +const DOCHOST = import.meta.env.VITE_DOCHOST; async function logout() { userStore.user = null; @@ -61,7 +63,7 @@ function blurAfter() { - Documents + Documents diff --git a/ui/src/router/index.js b/ui/src/router/index.js index 4e0a7db..6fb05fb 100644 --- a/ui/src/router/index.js +++ b/ui/src/router/index.js @@ -15,12 +15,13 @@ const router = createRouter({ { path: '/members', component: () => import('@/pages/memberList.vue'), meta: { requiresAuth: true, memberOnly: true } }, { path: '/loa', component: () => import('@/pages/SubmitLOA.vue'), meta: { requiresAuth: true, memberOnly: true } }, { path: '/transfer', component: () => import('@/pages/Transfer.vue'), meta: { requiresAuth: true, memberOnly: true } }, - + { path: '/calendar', component: () => import('@/pages/Calendar.vue'), meta: { requiresAuth: true, memberOnly: true }, }, { path: '/calendar/event/:id', component: () => import('@/pages/Calendar.vue'), meta: { requiresAuth: true, memberOnly: true }, }, - { path: '/documents', component: () => import('@/pages/Documentation.vue'), meta: { requiresAuth: true, memberOnly: true }, }, - + // disabled in favor of linking + // { path: '/documents', component: () => import('@/pages/Documentation.vue'), meta: { requiresAuth: true, memberOnly: true }, }, + { path: '/trainingReport', component: () => import('@/pages/TrainingReport.vue'), meta: { requiresAuth: true, memberOnly: true } }, { path: '/trainingReport/new', component: () => import('@/pages/TrainingReport.vue'), meta: { requiresAuth: true, memberOnly: true } }, { path: '/trainingReport/:id', component: () => import('@/pages/TrainingReport.vue'), meta: { requiresAuth: true, memberOnly: true } },