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>2020-05-03 18:38:43 +0300
committerdartcafe <github@dartcafe.de>2020-05-03 18:38:43 +0300
commitcc7bc8f8e2e72ab9e35ba3b2ef76851f9fddd0a8 (patch)
treeff0e8061358c7e1b8d22788c4e0dd8d6ae7b794b /src/js/components/PollList
parent80fa6e94b367e8d11362b39815773698c136d5f0 (diff)
load entire poll in one request
Diffstat (limited to 'src/js/components/PollList')
-rw-r--r--src/js/components/PollList/PollItem.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/components/PollList/PollItem.vue b/src/js/components/PollList/PollItem.vue
index 90ce68ac..2041235a 100644
--- a/src/js/components/PollList/PollItem.vue
+++ b/src/js/components/PollList/PollItem.vue
@@ -186,7 +186,7 @@ export default {
loadPoll() {
this.$store.dispatch({ type: 'loadPollMain', pollId: this.poll.id })
.then((response) => {
- this.$store.dispatch({ type: 'loadPoll', pollId: this.poll.id })
+ // this.$store.dispatch({ type: 'loadPoll', pollId: this.poll.id })
emit('toggle-sidebar', { open: true })
})
.catch((error) => {