Browse Source

fix(nc-gui): field modal new field issue

pull/9997/head
Ramesh Mane 3 days ago
parent
commit
4be28bbb03
  1. 7
      packages/nc-gui/components/smartsheet/column/EditOrAdd.vue

7
packages/nc-gui/components/smartsheet/column/EditOrAdd.vue

@ -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 (

Loading…
Cancel
Save