diff options
author | Marcel Klehr <mklehr@gmx.net> | 2023-10-22 12:44:11 +0200 |
---|---|---|
committer | Marcel Klehr <mklehr@gmx.net> | 2023-10-22 12:44:11 +0200 |
commit | 6007b1b7607932fc57cdb3dba8a47a4dc06f2937 (patch) | |
tree | d864de7d6b2738b25cbb9429c327e636cb56bb66 /apps/settings/src | |
parent | bfc205fc7337dde1b4be028bb995679b3ec5efc9 (diff) | |
download | nextcloud-server-6007b1b7607932fc57cdb3dba8a47a4dc06f2937.tar.gz nextcloud-server-6007b1b7607932fc57cdb3dba8a47a4dc06f2937.zip |
fix(settings/AdminAI): Fix eslint
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Diffstat (limited to 'apps/settings/src')
-rw-r--r-- | apps/settings/src/components/AdminAI.vue | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/apps/settings/src/components/AdminAI.vue b/apps/settings/src/components/AdminAI.vue index a70eba73071..05527e341be 100644 --- a/apps/settings/src/components/AdminAI.vue +++ b/apps/settings/src/components/AdminAI.vue @@ -37,14 +37,14 @@ </template> </NcSettingsSection> <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.')"> + :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" - :checked.sync="settings['ai.text2image_provider']" - :value="provider.class" - name="text2image_provider" - type="radio" - @update:checked="saveChanges"> + :checked.sync="settings['ai.text2image_provider']" + :value="provider.class" + name="text2image_provider" + type="radio" + @update:checked="saveChanges"> {{ provider.name }} </NcCheckboxRadioSwitch> </template> @@ -106,7 +106,7 @@ export default { DragVerticalIcon, ArrowDownIcon, ArrowUpIcon, - NcButton + NcButton, }, data() { return { @@ -134,14 +134,14 @@ export default { }, hasText2ImageProviders() { return this.text2imageProviders.length > 0 - } + }, }, methods: { moveUp(i) { this.settings['ai.translation_provider_preferences'].splice( Math.min(i - 1, 0), 0, - ...this.settings['ai.translation_provider_preferences'].splice(i, 1) + ...this.settings['ai.translation_provider_preferences'].splice(i, 1), ) this.saveChanges() }, @@ -149,7 +149,7 @@ export default { this.settings['ai.translation_provider_preferences'].splice( i + 1, 0, - ...this.settings['ai.translation_provider_preferences'].splice(i, 1) + ...this.settings['ai.translation_provider_preferences'].splice(i, 1), ) this.saveChanges() }, |