]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix wrong NcSelect event in AI admin settings
authorJulien Veyssier <julien-nc@posteo.net>
Tue, 1 Aug 2023 10:35:26 +0000 (12:35 +0200)
committerMarcel Klehr <mklehr@gmx.net>
Wed, 9 Aug 2023 08:28:02 +0000 (10:28 +0200)
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
(cherry picked from commit a877865fba846d95b7d96336f193c80581c9b585)

apps/settings/src/components/AdminAI.vue

index 0e969ea58f20463f26546ded209e9bd1826511e9..8bcaac43019c8acd93c29ab365f1f7be45a187ce 100644 (file)
@@ -46,7 +46,7 @@
                                        <NcSelect v-model="settings['ai.textprocessing_provider_preferences'][type]"
                                                :clearable="false"
                                                :options="textProcessingProviders.filter(p => p.taskType === type).map(p => p.class)"
-                                               @change="saveChanges">
+                                               @input="saveChanges">
                                                <template #option="{label}">
                                                        {{ textProcessingProviders.find(p => p.class === label)?.name }}
                                                </template>