diff options
author | dartcafe <github@dartcafe.de> | 2021-02-27 16:21:22 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2021-02-27 16:21:22 +0300 |
commit | 45ca1fa8e97ccf6e35fe5a2516b6b68b04f87a3d (patch) | |
tree | 88c745ccf9535d1ce59ce41d6b9a97d89fe11b75 /src/js/components/Create | |
parent | 09be13f03bcb7b149d6e942ead21949eb7975af1 (diff) |
js code maintenance and tidy
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to 'src/js/components/Create')
-rw-r--r-- | src/js/components/Create/CreateDlg.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/components/Create/CreateDlg.vue b/src/js/components/Create/CreateDlg.vue index e319354d..06f4f94d 100644 --- a/src/js/components/Create/CreateDlg.vue +++ b/src/js/components/Create/CreateDlg.vue @@ -97,7 +97,7 @@ export default { this.cancel() showSuccess(t('polls', 'Poll "{pollTitle}" added', { pollTitle: response.data.title })) this.$router.push({ name: 'vote', params: { id: response.data.id } }) - } catch (e) { + } catch { showError(t('polls', 'Error while creating Poll "{pollTitle}"', { pollTitle: this.title })) } }, |