aboutsummaryrefslogtreecommitdiffstats
path: root/apps/settings/src
diff options
context:
space:
mode:
authorMarcel Klehr <mklehr@gmx.net>2023-10-26 11:26:47 +0200
committerMarcel Klehr <mklehr@gmx.net>2023-10-26 11:26:47 +0200
commit14d1c186655889803774aba73f47a7b174303cc1 (patch)
tree36d3e285d48f34edc9a20ae1bfba59480f8146a2 /apps/settings/src
parent47e13cd55b3e369629b8b15a9332f50102ac076c (diff)
downloadnextcloud-server-14d1c186655889803774aba73f47a7b174303cc1.tar.gz
nextcloud-server-14d1c186655889803774aba73f47a7b174303cc1.zip
en(TextToImage): Add getId method to IProvider
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Diffstat (limited to 'apps/settings/src')
-rw-r--r--apps/settings/src/components/AdminAI.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/settings/src/components/AdminAI.vue b/apps/settings/src/components/AdminAI.vue
index 05527e341be..6a3f30451e9 100644
--- a/apps/settings/src/components/AdminAI.vue
+++ b/apps/settings/src/components/AdminAI.vue
@@ -39,9 +39,9 @@
<NcSettingsSection :name="t('settings', 'Image generation')"
:description="t('settings', 'Image generation can be implemented by different apps. Here you can set which app should be used.')">
<template v-for="provider in text2imageProviders">
- <NcCheckboxRadioSwitch :key="provider.class"
+ <NcCheckboxRadioSwitch :key="provider.id"
:checked.sync="settings['ai.text2image_provider']"
- :value="provider.class"
+ :value="provider.id"
name="text2image_provider"
type="radio"
@update:checked="saveChanges">