Minor update

This commit is contained in:
Douglas Barone 2021-11-17 12:43:31 -04:00
parent 75bb8fa0d6
commit 0d52f808b7
2 changed files with 24 additions and 29 deletions

View File

@ -4,19 +4,18 @@
v-for="(group, groupIndex) in filteredNavItems" v-for="(group, groupIndex) in filteredNavItems"
v-show="group.items.length" v-show="group.items.length"
:key="groupIndex" :key="groupIndex"
nav
:dense="dense" :dense="dense"
nav
> >
<v-subheader v-if="group.groupTitle && !mini"> <v-subheader v-if="group.groupTitle && !mini">
{{ group.groupTitle }} {{ group.groupTitle }}
</v-subheader> </v-subheader>
<v-list-item-group color="primary">
<v-list-item <v-list-item
v-for="(item, itemIndex) in group.items" v-for="(item, itemIndex) in group.items"
:key="itemIndex" :key="itemIndex"
:to="item.route" :to="item.route"
:disabled="item.disabled" :disabled="item.disabled"
:color="$vuetify.theme.dark ? '' : 'primary darken-2'"
:exact="'exact' in item ? item.exact : true" :exact="'exact' in item ? item.exact : true"
> >
<v-list-item-avatar> <v-list-item-avatar>
@ -26,6 +25,7 @@
{{ item.title }} {{ item.title }}
</v-list-item-title> </v-list-item-title>
</v-list-item> </v-list-item>
</v-list-item-group>
</v-list> </v-list>
</div> </div>
</template> </template>

View File

@ -12,12 +12,12 @@ export default {
icon: 'mdi-view-dashboard-outline', icon: 'mdi-view-dashboard-outline',
route: { name: 'home' } route: { name: 'home' }
}, },
{ // {
title: 'Crachá Virtual', // title: 'Crachá Virtual',
icon: 'mdi-badge-account-horizontal', // icon: 'mdi-badge-account-horizontal',
route: { name: 'user-id' }, // route: { name: 'user-id' },
role: 'servant' // role: 'servant'
}, // },
{ {
title: 'Alterar minha senha', title: 'Alterar minha senha',
icon: 'mdi-form-textbox-password', icon: 'mdi-form-textbox-password',
@ -87,12 +87,7 @@ export default {
route: { name: 'system-administration' }, route: { name: 'system-administration' },
role: 'superAdmin', role: 'superAdmin',
exact: false exact: false
}
]
}, },
{
groupTitle: '',
items: [
{ {
title: 'Sobre', title: 'Sobre',
icon: 'mdi-information', icon: 'mdi-information',