diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2020-09-01 21:17:38 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2020-09-01 21:17:38 +0200 |
commit | 791f215a25bac11bbd145467d5e9eb1777249282 (patch) | |
tree | 50c1059956d245c6262c58890a2b915f486328dc /src/components/Settings/SettingsNewAddressbook.vue | |
parent | 03590a7740b6bbd2bfeb068b9b1e3539300b2fe0 (diff) |
Fix dialogs scss and notifications
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'src/components/Settings/SettingsNewAddressbook.vue')
-rw-r--r-- | src/components/Settings/SettingsNewAddressbook.vue | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/Settings/SettingsNewAddressbook.vue b/src/components/Settings/SettingsNewAddressbook.vue index 7d5f72d2..2b4a764c 100644 --- a/src/components/Settings/SettingsNewAddressbook.vue +++ b/src/components/Settings/SettingsNewAddressbook.vue @@ -45,6 +45,7 @@ </template> <script> +import { showError } from '@nextcloud/dialogs' export default { name: 'SettingsNewAddressbook', @@ -71,7 +72,7 @@ export default { }) .catch((error) => { console.error(error) - OC.Notification.showTemporary(t('contacts', 'An error occurred, unable to create the address book.')) + showError(t('contacts', 'An error occurred, unable to create the address book')) this.loading = false }) }, |