Merge branch 'main' of github.com:directus/next into main

This commit is contained in:
rijkvanzanten
2020-08-12 17:44:34 -04:00
2 changed files with 3 additions and 3 deletions

View File

@@ -14,13 +14,13 @@
</template>
<v-list-item
v-for="{ name, id } in roles"
v-for="{ name, id, icon } in roles"
:key="id"
:to="`/users?role=${id}`"
exact
:active="currentRole === id"
>
<v-list-item-icon><v-icon name="people" /></v-list-item-icon>
<v-list-item-icon><v-icon :name="icon" /></v-list-item-icon>
<v-list-item-content>{{ name }}</v-list-item-content>
</v-list-item>
</v-list>