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

View File

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