Skip to content

Commit bb6ba9b

Browse files
committed
feat: add icon to account
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
1 parent e77ceb5 commit bb6ba9b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/Components/Settings/Settings.vue

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@
77
<ul>
88
<NcAppNavigationItem icon="icon-user"
99
:name="t('libresign', 'Account')"
10-
:to=" {name: 'Account'} " />
10+
:to=" {name: 'Account'} ">
11+
<template #icon>
12+
<AccountIcon :size="20" />
13+
</template>
14+
</NcAppNavigationItem>
1115
<NcAppNavigationItem v-if="isAdmin"
1216
:name="t('libresign', 'Administration')"
1317
:href="getAdminRoute()">
@@ -25,6 +29,7 @@
2529
</template>
2630

2731
<script>
32+
import AccountIcon from 'vue-material-design-icons/Account.vue'
2833
import StarIcon from 'vue-material-design-icons/Star.vue'
2934
import TuneIcon from 'vue-material-design-icons/Tune.vue'
3035
@@ -37,6 +42,7 @@ export default {
3742
name: 'Settings',
3843
components: {
3944
NcAppNavigationItem,
45+
AccountIcon,
4046
StarIcon,
4147
TuneIcon,
4248
},

0 commit comments

Comments
 (0)