From 28776b72e61b45ff6012e90a755738b116b10c9e Mon Sep 17 00:00:00 2001
From: Joas Schilling <coding@schilljs.com>
Date: Fri, 13 Apr 2018 16:54:15 +0200
Subject: [PATCH] Allow icon urls too

Signed-off-by: Joas Schilling <coding@schilljs.com>
---
 settings/src/components/appNavigation/navigationItem.vue | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

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">
-- 
GitLab