diff options
author | dartcafe <github@dartcafe.de> | 2020-04-30 09:40:37 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2020-04-30 09:40:37 +0300 |
commit | c0df943455fc8a0180c26154fecc36b70acebb12 (patch) | |
tree | 98e4d452493a370ce401c547a109a5fc45b85b3c /src/js/components/PollList | |
parent | 5e28a8866aad469844d94cf0b39e1c228e6a0e50 (diff) |
fix sidebar events
Diffstat (limited to 'src/js/components/PollList')
-rw-r--r-- | src/js/components/PollList/PollListItem.vue | 2 |
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) |