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:
Diffstat (limited to 'src/js/components/VoteTable/VoteTable.vue')
-rw-r--r--src/js/components/VoteTable/VoteTable.vue3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/js/components/VoteTable/VoteTable.vue b/src/js/components/VoteTable/VoteTable.vue
index 6dcc7371..32f804ab 100644
--- a/src/js/components/VoteTable/VoteTable.vue
+++ b/src/js/components/VoteTable/VoteTable.vue
@@ -45,7 +45,7 @@
<Confirmation v-if="option.confirmed && closed" :option="option" />
- <Counter v-else :show-maybe="!!poll.allowMaybe"
+ <Counter v-else-if="acl.allowSeeResults" :show-maybe="!!poll.allowMaybe"
:option="option"
:counter-style="viewMode === 'table-view' ? 'iconStyle' : 'barStyle'"
:show-no="viewMode === 'list-view'" />
@@ -134,6 +134,7 @@ export default {
}),
...mapGetters({
+ hideResults: 'poll/hideResults',
closed: 'poll/closed',
participants: 'poll/participants',
}),