|
|
|
@ -183,10 +183,9 @@ const uiFilters = (t: UiTypesType) => {
|
|
|
|
|
const specificDBType = t.name === UITypes.SpecificDBType && isXcdbBase(meta.value?.source_id) |
|
|
|
|
const showDeprecatedField = !t.deprecated || showDeprecated.value |
|
|
|
|
|
|
|
|
|
const hideAiPromptOnEdit = !((t.name === AIPrompt || t.name === AIButton) && isEdit.value) |
|
|
|
|
|
|
|
|
|
const hideBetaAi = !(t.name === AIPrompt || t.name === AIButton) || isFeatureEnabled(FEATURE_FLAG.AI_FEATURES) |
|
|
|
|
|
|
|
|
|
const hideAiPromptOnEdit = [AIPrompt, AIButton].includes(t.name) |
|
|
|
|
? isFeatureEnabled(FEATURE_FLAG.AI_FEATURES) && !isEdit.value |
|
|
|
|
: true |
|
|
|
|
const isAllowToAddInFormView = isForm.value ? !formViewHiddenColTypes.includes(t.name) : true |
|
|
|
|
|
|
|
|
|
return ( |
|
|
|
|