diff --git a/src/modules/system/modules/configuration/components/configuration-popup.vue b/src/modules/system/modules/configuration/components/configuration-popup.vue index 450090a62..61b15720e 100644 --- a/src/modules/system/modules/configuration/components/configuration-popup.vue +++ b/src/modules/system/modules/configuration/components/configuration-popup.vue @@ -61,6 +61,14 @@ @input="inputHandler" /> + @@ -144,6 +152,13 @@ export default { }, }; } + const defaultStringConfig = { + itemInstance: { + value: { + required, + }, + }, + }; switch (this.itemInstance.name) { case EngineSystemSettingName.EnableOmnichannel: @@ -160,6 +175,8 @@ export default { return deepmerge(defaults, defaultNumberConfig); case EngineSystemSettingName.ExportSettings: return deepmerge(defaults, defaultSelectConfig); + case EngineSystemSettingName.ChatAiConnection: + return deepmerge(defaults, defaultStringConfig); default: return defaults; } diff --git a/src/modules/system/modules/configuration/utils/configurationValueTypes.js b/src/modules/system/modules/configuration/utils/configurationValueTypes.js index c4b35f3cc..8c3bdc6f8 100644 --- a/src/modules/system/modules/configuration/utils/configurationValueTypes.js +++ b/src/modules/system/modules/configuration/utils/configurationValueTypes.js @@ -8,6 +8,7 @@ const ConfigurationValueTypes = Object.freeze({ [EngineSystemSettingName.SchemeVersionLimit]: 'number', [EngineSystemSettingName.SearchNumberLength]: 'number', [EngineSystemSettingName.ExportSettings]: 'select', + [EngineSystemSettingName.ChatAiConnection]: 'string', }, );