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>2022-02-01 01:50:58 +0300
committerdartcafe <github@dartcafe.de>2022-02-01 01:50:58 +0300
commit7abfa852f119885f18f73b5eb218c4f19a4348c9 (patch)
tree794f22d4555ed426b5c100e25a6529752b4813f1 /src/js/components/Options/OptionsTextAdd.vue
parentee92ce3d0e0c4ac9ae8ef72b2090e19c6dee7f75 (diff)
store refactoring
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to 'src/js/components/Options/OptionsTextAdd.vue')
-rw-r--r--src/js/components/Options/OptionsTextAdd.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/components/Options/OptionsTextAdd.vue b/src/js/components/Options/OptionsTextAdd.vue
index 5125131e..7a5c3561 100644
--- a/src/js/components/Options/OptionsTextAdd.vue
+++ b/src/js/components/Options/OptionsTextAdd.vue
@@ -54,7 +54,7 @@ export default {
async addOption() {
if (this.newPollText) {
try {
- await this.$store.dispatch('options/add', { pollOptionText: this.newPollText })
+ await this.$store.dispatch('options/add', { text: this.newPollText })
showSuccess(t('polls', '{optionText} added', { optionText: this.newPollText }))
this.newPollText = ''
} catch (e) {