mirror of
https://github.com/nextcloud/server.git
synced 2026-04-27 17:18:48 -04:00
Merge pull request #43015 from nextcloud/fix/42941-Replace_samtically_incorrect_elements_on_Artificial_Intelligence_setting_page
Replace inaccessible disabled option of NcCheckboxRadioSwitch with NcNoteCard
This commit is contained in:
commit
4bf4cee870
5 changed files with 15 additions and 11 deletions
|
|
@ -31,9 +31,9 @@
|
|||
</NcCheckboxRadioSwitch>
|
||||
</template>
|
||||
<template v-if="!hasStt">
|
||||
<NcCheckboxRadioSwitch disabled type="radio">
|
||||
<NcNoteCard type="info">
|
||||
{{ t('settings', 'None of your currently installed apps provide Speech-To-Text functionality') }}
|
||||
</NcCheckboxRadioSwitch>
|
||||
</NcNoteCard>
|
||||
</template>
|
||||
</NcSettingsSection>
|
||||
<NcSettingsSection :name="t('settings', 'Image generation')"
|
||||
|
|
@ -49,9 +49,9 @@
|
|||
</NcCheckboxRadioSwitch>
|
||||
</template>
|
||||
<template v-if="!hasText2ImageProviders">
|
||||
<NcCheckboxRadioSwitch disabled type="radio">
|
||||
<NcNoteCard type="info">
|
||||
{{ t('settings', 'None of your currently installed apps provide image generation functionality') }}
|
||||
</NcCheckboxRadioSwitch>
|
||||
</NcNoteCard>
|
||||
</template>
|
||||
</NcSettingsSection>
|
||||
<NcSettingsSection :name="t('settings', 'Text processing')"
|
||||
|
|
@ -76,7 +76,9 @@
|
|||
</div>
|
||||
</template>
|
||||
<template v-if="!hasTextProcessing">
|
||||
<p>{{ t('settings', 'None of your currently installed apps provide Text processing functionality') }}</p>
|
||||
<NcNoteCard type="info">
|
||||
{{ t('settings', 'None of your currently installed apps provide Text processing functionality') }}
|
||||
</NcNoteCard>
|
||||
</template>
|
||||
</NcSettingsSection>
|
||||
</div>
|
||||
|
|
@ -88,6 +90,7 @@ import NcCheckboxRadioSwitch from '@nextcloud/vue/dist/Components/NcCheckboxRadi
|
|||
import NcSettingsSection from '@nextcloud/vue/dist/Components/NcSettingsSection.js'
|
||||
import NcSelect from '@nextcloud/vue/dist/Components/NcSelect.js'
|
||||
import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
|
||||
import NcNoteCard from '@nextcloud/vue/dist/Components/NcNoteCard.js'
|
||||
import draggable from 'vuedraggable'
|
||||
import DragVerticalIcon from 'vue-material-design-icons/DragVertical.vue'
|
||||
import ArrowDownIcon from 'vue-material-design-icons/ArrowDown.vue'
|
||||
|
|
@ -107,6 +110,7 @@ export default {
|
|||
ArrowDownIcon,
|
||||
ArrowUpIcon,
|
||||
NcButton,
|
||||
NcNoteCard,
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
|
|
|||
4
dist/core-common.js
vendored
4
dist/core-common.js
vendored
File diff suppressed because one or more lines are too long
2
dist/core-common.js.map
vendored
2
dist/core-common.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/settings-vue-settings-admin-ai.js
vendored
4
dist/settings-vue-settings-admin-ai.js
vendored
File diff suppressed because one or more lines are too long
2
dist/settings-vue-settings-admin-ai.js.map
vendored
2
dist/settings-vue-settings-admin-ai.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue