aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2024-11-18 22:10:24 +0100
committerGitHub <noreply@github.com>2024-11-18 22:10:24 +0100
commit4b769f661dba7032b9502ecaaf6a71cba5588dfa (patch)
tree2dcd2306f08c89c28d1afd83733cbda23e8e9ee8 /apps
parent8995272f60b7d30c58565aa0eeb01e39f3629644 (diff)
parent7a4cd423fd7a8f1a469eedb0b54f92aff925ef74 (diff)
downloadnextcloud-server-4b769f661dba7032b9502ecaaf6a71cba5588dfa.tar.gz
nextcloud-server-4b769f661dba7032b9502ecaaf6a71cba5588dfa.zip
Merge pull request #49343 from nextcloud/fix/ai-settings
fix(settings): Add nextTick to saveChanges
Diffstat (limited to 'apps')
-rw-r--r--apps/settings/src/components/AdminAI.vue3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/settings/src/components/AdminAI.vue b/apps/settings/src/components/AdminAI.vue
index 28fdd7830d7..557b4e23067 100644
--- a/apps/settings/src/components/AdminAI.vue
+++ b/apps/settings/src/components/AdminAI.vue
@@ -112,7 +112,7 @@ import DragVerticalIcon from 'vue-material-design-icons/DragVertical.vue'
import ArrowDownIcon from 'vue-material-design-icons/ArrowDown.vue'
import ArrowUpIcon from 'vue-material-design-icons/ArrowUp.vue'
import { loadState } from '@nextcloud/initial-state'
-
+import { nextTick } from 'vue'
import { generateUrl } from '@nextcloud/router'
export default {
@@ -185,6 +185,7 @@ export default {
},
async saveChanges() {
this.loading = true
+ await nextTick()
const data = { settings: this.settings }
try {
await axios.put(generateUrl('/settings/api/admin/ai'), data)