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-04-30 09:40:37 +0300
committerdartcafe <github@dartcafe.de>2020-04-30 09:40:37 +0300
commitc0df943455fc8a0180c26154fecc36b70acebb12 (patch)
tree98e4d452493a370ce401c547a109a5fc45b85b3c /src/js/components/PollList
parent5e28a8866aad469844d94cf0b39e1c228e6a0e50 (diff)
fix sidebar events
Diffstat (limited to 'src/js/components/PollList')
-rw-r--r--src/js/components/PollList/PollListItem.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/components/PollList/PollListItem.vue b/src/js/components/PollList/PollListItem.vue
index 2a99124e..e7c3ea1a 100644
--- a/src/js/components/PollList/PollListItem.vue
+++ b/src/js/components/PollList/PollListItem.vue
@@ -179,7 +179,7 @@ export default {
this.$store.dispatch({ type: 'loadPollMain', pollId: this.poll.id })
.then((response) => {
this.$store.dispatch({ type: 'loadPoll', pollId: this.poll.id })
- this.$root.$emit('openSideBar')
+ this.$root.$emit('toggle-sidebar', { open: true })
})
.catch((error) => {
console.error(error)