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>2021-04-18 23:58:08 +0300
committerdartcafe <github@dartcafe.de>2021-04-18 23:58:08 +0300
commit5ada3eaef1c0eda81d94a3fe26826313241d929d (patch)
tree8a796cabb9ba4e4193e64c63ec035b8c281c6d89 /src/js/views/Vote.vue
parent2488d3a0e557161e73caa7557bf2f9bce3f74242 (diff)
object-shorthand
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to 'src/js/views/Vote.vue')
-rw-r--r--src/js/views/Vote.vue6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/js/views/Vote.vue b/src/js/views/Vote.vue
index 63b88fb8..6549544d 100644
--- a/src/js/views/Vote.vue
+++ b/src/js/views/Vote.vue
@@ -175,10 +175,10 @@ export default {
async submitEmailAddress(emailAddress) {
try {
- await this.$store.dispatch('share/updateEmailAddress', { emailAddress: emailAddress })
- showSuccess(t('polls', 'Email address {emailAddress} saved.', { emailAddress: emailAddress }))
+ await this.$store.dispatch('share/updateEmailAddress', { emailAddress })
+ showSuccess(t('polls', 'Email address {emailAddress} saved.', { emailAddress }))
} catch {
- showError(t('polls', 'Error saving email address {emailAddress}', { emailAddress: emailAddress }))
+ showError(t('polls', 'Error saving email address {emailAddress}', { emailAddress }))
}
},
},