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-27 11:19:40 +0300
committerdartcafe <github@dartcafe.de>2021-02-27 11:19:40 +0300
commit3baec9241d4c60e571dbbbdf8dcaec0b97a10c22 (patch)
tree847b63c8f2c532b9776c601f449b741a4dce2f74 /src/js/views
parentcc2065aa69630cba75793e4b55544ed41ca33e99 (diff)
move store modules away from submodules
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to 'src/js/views')
-rw-r--r--src/js/views/Vote.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/js/views/Vote.vue b/src/js/views/Vote.vue
index 0be1e2ae..07d68853 100644
--- a/src/js/views/Vote.vue
+++ b/src/js/views/Vote.vue
@@ -150,7 +150,7 @@ export default {
...mapState({
poll: state => state.poll,
acl: state => state.poll.acl,
- options: state => state.poll.options.list,
+ options: state => state.options.list,
share: state => state.share,
settings: state => state.settings,
}),
@@ -384,7 +384,7 @@ export default {
dispatches.push('poll/get')
// this.$store.dispatch('poll/get')
} else {
- dispatches.push('poll/' + item.table + '/list')
+ dispatches.push(item.table + '/list')
// this.$store.dispatch('poll/' + item.table + '/list')
}
})