summaryrefslogtreecommitdiffstats
path: root/settings/src
diff options
context:
space:
mode:
authorMichael Weimann <mail@michael-weimann.eu>2018-07-18 23:09:49 +0200
committerMichael Weimann <mail@michael-weimann.eu>2018-07-18 23:09:49 +0200
commitc17b191dfb2c48acfc7f0b4d59d266eb3658dbf9 (patch)
tree09c2c36ebd49598e0d3853c603071aa30514a849 /settings/src
parentddebdb02fb1881a834ed47430c17b743b1e4f6da (diff)
downloadnextcloud-server-c17b191dfb2c48acfc7f0b4d59d266eb3658dbf9.tar.gz
nextcloud-server-c17b191dfb2c48acfc7f0b4d59d266eb3658dbf9.zip
Display the remove item even for elements without a count
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
Diffstat (limited to 'settings/src')
-rw-r--r--settings/src/components/appNavigation/navigationItem.vue4
1 files changed, 2 insertions, 2 deletions
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>