Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/notes.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/AppSettings.vue')
-rw-r--r--src/components/AppSettings.vue7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/components/AppSettings.vue b/src/components/AppSettings.vue
index 74e9c003..d0318026 100644
--- a/src/components/AppSettings.vue
+++ b/src/components/AppSettings.vue
@@ -31,7 +31,8 @@
import {
AppNavigationSettings,
} from '@nextcloud/vue'
-import NotesService from '../NotesService'
+
+import { setSettings } from '../NotesService'
import store from '../store'
export default {
@@ -60,10 +61,10 @@ export default {
methods: {
onChangeSettings() {
this.saving = true
- return NotesService.setSettings(this.settings)
+ return setSettings(this.settings)
.catch(() => {
})
- .finally(() => {
+ .then(() => {
this.saving = false
})
},