File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<template >
22 <v-card class =" layout-container" >
3- <v-navigation-drawer
4- v-if =" $route.path != '/login'"
5- v-model =" drawer"
6- theme =" dark"
7- :permanent =" !isMobile"
8- :temporary =" isMobile"
9- class =" fixed-sidebar" >
3+ <v-navigation-drawer v-if =" $route.path != '/login'" v-model =" drawer" theme =" dark" :permanent =" !isMobile"
4+ :temporary =" isMobile" class =" fixed-sidebar" >
105 <router-link to =" /" >
116 <v-img :src =" logo" max-width =" 110" class =" ml-3 mt-5 mb-4" ></v-img >
127 </router-link >
138 <v-divider ></v-divider >
149 <v-list color =" transparent" >
1510 <template v-for =" item in filteredItems " :key =" item .title " >
16- <v-list-item
17- :to =" item.path"
18- :prepend-icon =" item.icon"
19- color =" white"
20- :class =" { 'router-link-active': $route.path === item.path }"
21- @click =" isMobile && (drawer = false)" >
11+ <v-list-item :to =" item.path" :prepend-icon =" item.icon" color =" white"
12+ :class =" { 'router-link-active': $route.path === item.path }" @click =" isMobile && (drawer = false)" >
2213 {{ item.title }}
2314 </v-list-item >
2415 </template >
2516 </v-list >
2617 </v-navigation-drawer >
2718
2819 <div :class =" $route.path != '/login' ? 'main-container' : ''" >
29- <CshrToolbar v-if =" $route.path != '/login'" @logout =" logout" @toggle-drawer =" drawer = !drawer" :is-mobile =" isMobile" />
20+ <CshrToolbar v-if =" $route.path != '/login'" @logout =" logout" @toggle-drawer =" drawer = !drawer"
21+ :is-mobile =" isMobile" />
3022 <div class =" scrollable-content" >
3123 <template v-if =" isReadyRouter .state .value " >
3224 <router-view />
@@ -94,11 +86,6 @@ export default {
9486 title: ' Requests' ,
9587 path: ' /requests'
9688 },
97- {
98- icon: ' mdi-account-clock' ,
99- title: ' Pending Requests' ,
100- path: ' /pending-requests'
101- },
10289 {
10390 icon: ' mdi-bell' ,
10491 title: ' Notifications' ,
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ const router = createRouter({
77 { path : '/login' , component : ( ) => import ( '@/views/LoginView.vue' ) } ,
88 { path : '/' , component : ( ) => import ( '@/views/CalendarView.vue' ) } ,
99 { path : '/requests' , component : ( ) => import ( '@/views/RequestsView.vue' ) } ,
10- { path : '/pending-requests' , component : ( ) => import ( '@/views/PendingRequests.vue' ) } ,
1110 { path : '/notifications' , component : ( ) => import ( '@/views/NotificationsView.vue' ) } ,
1211 { path : '/locations' , component : ( ) => import ( '@/views/OfficesView.vue' ) } ,
1312 { path : '/dashboard' , component : ( ) => import ( '@/views/DashboardView.vue' ) } ,
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments