diff options
author | dartcafe <github@dartcafe.de> | 2021-04-18 23:59:52 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2021-04-18 23:59:52 +0300 |
commit | 43e516fd48128c94b045c83674fe5970e61cee2d (patch) | |
tree | 79b00434d26a6ed2157f04932e8052873b4b3728 /src/js/components/VoteTable | |
parent | 5ada3eaef1c0eda81d94a3fe26826313241d929d (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.vue | 8 | ||||
-rw-r--r-- | src/js/components/VoteTable/VoteTable.vue | 8 | ||||
-rw-r--r-- | src/js/components/VoteTable/VoteTableHeaderItem.vue | 4 |
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({ |