Skip to content

Commit

Permalink
load poll configurration after 409 error
Browse files Browse the repository at this point in the history
Signed-off-by: dartcafe <[email protected]>
  • Loading branch information
dartcafe committed Aug 31, 2024
1 parent ee0cfda commit 8f1961b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/js/store/modules/votes.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ const actions = {
if (error.response.status === 409) {
context.dispatch('list')
context.dispatch('options/list', null, { root: true })
context.dispatch('poll/get', null, { root: true })
} else {
Logger.error('Error setting vote', { error, payload })
throw error
Expand Down

0 comments on commit 8f1961b

Please sign in to comment.