Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordartcafe <github@dartcafe.de>2021-02-07 19:14:01 +0300
committerdartcafe <github@dartcafe.de>2021-02-07 19:35:38 +0300
commit0cb65eea72921572eaa033b04bab50f18d4a6caa (patch)
tree8a91eb2da6f3defb25e31cf1abe02ee2befcc5f6 /src/js/views
parentd4c880679fa339bc6d741c3c8de48c5c5974be10 (diff)
hide showbar when no tabs are available
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to 'src/js/views')
-rw-r--r--src/js/views/Vote.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/views/Vote.vue b/src/js/views/Vote.vue
index 85fb510a..14dba799 100644
--- a/src/js/views/Vote.vue
+++ b/src/js/views/Vote.vue
@@ -34,7 +34,7 @@
</ActionButton>
</Actions>
<Actions>
- <ActionButton icon="icon-polls-sidebar-toggle" @click="toggleSideBar()">
+ <ActionButton v-if="acl.allowEdit || poll.allowComment" icon="icon-polls-sidebar-toggle" @click="toggleSideBar()">
{{ t('polls', 'Toggle Sidebar') }}
</ActionButton>
</Actions>