summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2018-04-13 16:54:15 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-05-16 09:50:21 +0200
commit28776b72e61b45ff6012e90a755738b116b10c9e (patch)
tree219dddfce2fd19de49a6edd8c96ced55932a4089 /settings
parente1297f1fde562d0c6ed67a86c5eefa0fb0a33946 (diff)
downloadnextcloud-server-28776b72e61b45ff6012e90a755738b116b10c9e.tar.gz
nextcloud-server-28776b72e61b45ff6012e90a755738b116b10c9e.zip
Allow icon urls too
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'settings')
-rw-r--r--settings/src/components/appNavigation/navigationItem.vue5
1 files changed, 4 insertions, 1 deletions
diff --git a/settings/src/components/appNavigation/navigationItem.vue b/settings/src/components/appNavigation/navigationItem.vue
index 654f6ffcdd9..1f158367ef7 100644
--- a/settings/src/components/appNavigation/navigationItem.vue
+++ b/settings/src/components/appNavigation/navigationItem.vue
@@ -5,7 +5,10 @@
<div v-if="item.bullet" class="app-navigation-entry-bullet" :style="{ backgroundColor: item.bullet }"></div>
<!-- Main link -->
- <a :href="(item.href) ? item.href : '#' " @click="toggleCollapse" :class="item.icon" >{{item.text}}</a>
+ <a :href="(item.href) ? item.href : '#' " @click="toggleCollapse" :class="item.icon" >
+ <img v-if="item.iconUrl" :alt="item.text" :src="item.iconUrl">
+ {{item.text}}
+ </a>
<!-- Popover, counter and button(s) -->
<div v-if="item.utils" class="app-navigation-entry-utils">