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.vue8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/js/components/VoteTable/VoteTable.vue b/src/js/components/VoteTable/VoteTable.vue
index 7df576a7..71e0b9de 100644
--- a/src/js/components/VoteTable/VoteTable.vue
+++ b/src/js/components/VoteTable/VoteTable.vue
@@ -31,11 +31,11 @@
:poll-type="poll.type" />
</div>
- <div v-for="(participant) in participants" :key="participant.userId" :class="{currentuser: (participant.userId === currentUser) }">
+ <div v-for="(participant) in participants" :key="participant.userId" :class="{currentuser: (participant.userId === acl.userId) }">
<UserDiv :key="participant.userId"
class="vote-table__user-column"
:disable-menu="true"
- :class="{currentuser: (participant.userId === currentUser) }"
+ :class="{currentuser: (participant.userId === acl.userId) }"
:user-id="participant.userId"
:display-name="participant.displayName">
<Actions v-if="acl.allowEdit" class="action">
@@ -100,10 +100,6 @@ export default {
'sortedOptions',
'participants',
]),
-
- currentUser() {
- return this.acl.userId
- },
},
methods: {