summaryrefslogtreecommitdiffstats
path: root/src/components/Settings/SettingsNewAddressbook.vue
diff options
context:
space:
mode:
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
})
},