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-04-18 23:59:52 +0300
committerdartcafe <github@dartcafe.de>2021-04-18 23:59:52 +0300
commit43e516fd48128c94b045c83674fe5970e61cee2d (patch)
tree79b00434d26a6ed2157f04932e8052873b4b3728 /src/js/components/VoteTable
parent5ada3eaef1c0eda81d94a3fe26826313241d929d (diff)
arrow-parens
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to 'src/js/components/VoteTable')
-rw-r--r--src/js/components/VoteTable/VoteItem.vue8
-rw-r--r--src/js/components/VoteTable/VoteTable.vue8
-rw-r--r--src/js/components/VoteTable/VoteTableHeaderItem.vue4
3 files changed, 10 insertions, 10 deletions
diff --git a/src/js/components/VoteTable/VoteItem.vue b/src/js/components/VoteTable/VoteItem.vue
index 9e3af83c..450a1182 100644
--- a/src/js/components/VoteTable/VoteItem.vue
+++ b/src/js/components/VoteTable/VoteItem.vue
@@ -47,10 +47,10 @@ export default {
computed: {
...mapState({
- voteLimit: state => state.poll.voteLimit,
- optionLimit: state => state.poll.optionLimit,
- currentUser: state => state.poll.acl.userId,
- allowVote: state => state.poll.acl.allowVote,
+ voteLimit: (state) => state.poll.voteLimit,
+ optionLimit: (state) => state.poll.optionLimit,
+ currentUser: (state) => state.poll.acl.userId,
+ allowVote: (state) => state.poll.acl.allowVote,
}),
...mapGetters({
diff --git a/src/js/components/VoteTable/VoteTable.vue b/src/js/components/VoteTable/VoteTable.vue
index 3db652ec..d7758e2c 100644
--- a/src/js/components/VoteTable/VoteTable.vue
+++ b/src/js/components/VoteTable/VoteTable.vue
@@ -125,10 +125,10 @@ export default {
computed: {
...mapState({
- acl: state => state.poll.acl,
- poll: state => state.poll,
- share: state => state.share,
- settings: state => state.settings.user,
+ acl: (state) => state.poll.acl,
+ poll: (state) => state.poll,
+ share: (state) => state.share,
+ settings: (state) => state.settings.user,
}),
...mapGetters({
diff --git a/src/js/components/VoteTable/VoteTableHeaderItem.vue b/src/js/components/VoteTable/VoteTableHeaderItem.vue
index fa5a56bd..13ddfd71 100644
--- a/src/js/components/VoteTable/VoteTableHeaderItem.vue
+++ b/src/js/components/VoteTable/VoteTableHeaderItem.vue
@@ -51,8 +51,8 @@ export default {
computed: {
...mapState({
- poll: state => state.poll,
- acl: state => state.poll.acl,
+ poll: (state) => state.poll,
+ acl: (state) => state.poll.acl,
}),
...mapGetters({