From c17b191dfb2c48acfc7f0b4d59d266eb3658dbf9 Mon Sep 17 00:00:00 2001
From: Michael Weimann <mail@michael-weimann.eu>
Date: Wed, 18 Jul 2018 23:09:49 +0200
Subject: Display the remove item even for elements without a count

Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
---
 settings/src/components/appNavigation/navigationItem.vue | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'settings/src/components/appNavigation/navigationItem.vue')

diff --git a/settings/src/components/appNavigation/navigationItem.vue b/settings/src/components/appNavigation/navigationItem.vue
index b64a7664a2e..4464c0abd0a 100644
--- a/settings/src/components/appNavigation/navigationItem.vue
+++ b/settings/src/components/appNavigation/navigationItem.vue
@@ -44,8 +44,8 @@
 				<li v-if="Number.isInteger(item.utils.counter)"
 					class="app-navigation-entry-utils-counter">{{item.utils.counter}}</li>
 
-				<!-- first action if only one action and counter -->
-				<li v-if="item.utils.actions && item.utils.actions.length === 1 && Number.isInteger(item.utils.counter)"
+				<!-- first action if only one action -->
+				<li v-if="item.utils.actions && item.utils.actions.length === 1"
 					class="app-navigation-entry-utils-menu-button">
 					<button @click="item.utils.actions[0].action" :class="item.utils.actions[0].icon" :title="item.utils.actions[0].text"></button>
 				</li>
-- 
cgit v1.2.3

