diff options
author | dartcafe <github@dartcafe.de> | 2020-03-15 21:34:17 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2020-03-15 21:34:17 +0300 |
commit | 0bd7aa0d56ee0003cdf0fc7d32097d5a01a84a4f (patch) | |
tree | fc2f15334722b04c29878b28aab118ff5a4ff5f2 /src/js/components/Create/CreateDlg.vue | |
parent | 80187f5e20ecb046b5ae8e7cd9cff6a851004aa2 (diff) |
removed duplication of poll list loading
Diffstat (limited to 'src/js/components/Create/CreateDlg.vue')
-rw-r--r-- | src/js/components/Create/CreateDlg.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/components/Create/CreateDlg.vue b/src/js/components/Create/CreateDlg.vue index d7603ca6..aadd4b0e 100644 --- a/src/js/components/Create/CreateDlg.vue +++ b/src/js/components/Create/CreateDlg.vue @@ -93,7 +93,7 @@ export default { this.setPollProperty({ type: this.type }) this.$store.dispatch('writePollPromise') .then(() => { - this.$store.dispatch('loadPolls') + this.$root.$emit('updatePolls') this.cancel() OC.Notification.showTemporary(t('polls', 'Poll "%n" added', 1, this.poll.title), { type: 'success' }) this.$router.push({ name: 'vote', params: { id: this.poll.id } }) |