Skip to content

Commit

Permalink
send to list after permanent poll deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
dartcafe committed Oct 14, 2020
1 parent 900a60e commit fe2f59c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/js/components/SideBar/SideBarTabConfiguration.vue
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ export default {
.dispatch('poll/delete', { pollId: this.poll.id })
.then(() => {
emit('update-polls')
this.$router.push({ name: 'list', params: { type: 'relevant' } })
})
.catch(() => {
showError(t('polls', 'Error deleting poll.'))
Expand Down

0 comments on commit fe2f59c

Please sign in to comment.