summaryrefslogtreecommitdiffstats
path: root/src/components/Settings/SettingsNewAddressbook.vue
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2020-09-01 21:17:38 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2020-09-01 21:17:38 +0200
commit791f215a25bac11bbd145467d5e9eb1777249282 (patch)
tree50c1059956d245c6262c58890a2b915f486328dc /src/components/Settings/SettingsNewAddressbook.vue
parent03590a7740b6bbd2bfeb068b9b1e3539300b2fe0 (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.vue3
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
})
},