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
path: root/src
diff options
context:
space:
mode:
authordartcafe <github@dartcafe.de>2021-05-27 00:19:33 +0300
committerdartcafe <github@dartcafe.de>2021-05-27 00:19:33 +0300
commit5e098126436aa7f48e9f089115da82d2c003fb68 (patch)
tree78407a6dd8036da27cffc0b05f03dc606e83b80e /src
parent895746bc43285071199c27319b0ad148e715f1d8 (diff)
fix #1559
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to 'src')
-rw-r--r--src/js/components/Poll/PublicRegisterModal.vue6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/js/components/Poll/PublicRegisterModal.vue b/src/js/components/Poll/PublicRegisterModal.vue
index 38a200f9..fd4bfdb8 100644
--- a/src/js/components/Poll/PublicRegisterModal.vue
+++ b/src/js/components/Poll/PublicRegisterModal.vue
@@ -264,9 +264,13 @@ export default {
this.$router.replace({ name: 'publicVote', params: { token: response.token } })
this.closeModal()
}
+ if (this.share.emailAddress && !this.share.invitationSent) {
+ showError(t('polls', 'Email could not be sent to {emailAddress}', { emailAddress: this.share.emailAddress }))
+ }
} catch {
- showError(t('polls', 'Error saving name', 1, this.poll.title))
+ showError(t('polls', 'Error saving name'))
}
+
}
},
},