Skip to content

πŸ”₯ πŸ”₯ πŸ”₯ A Free & Self-hostable Airtable Alternative

allow for attachment

Pranav C7cea4a610b7f
diff --git a/packages/nc-gui/components/smartsheet/column/EditOrAdd.vue b/packages/nc-gui/components/smartsheet/column/EditOrAdd.vue
index 485913c53b..7967c042f3 100644
--- a/packages/nc-gui/components/smartsheet/column/EditOrAdd.vue
+++ b/packages/nc-gui/components/smartsheet/column/EditOrAdd.vue
@@ -1333,7 +1333,8 @@ const easterEgg = computed(() => easterEggCount.value >= 2)
</NcSwitch>
</div>
</div>
- <template v-if="easterEgg">
+ <template v-if="easterEgg || (appInfo.ee && isAttachment(formState))">
+ <!-- TODO: Refactor the if condition and verify AttachmentOption -->
<div
v-if="!props.hideAdditionalOptions && !isVirtualCol(formState.uidt)&&!(!appInfo.ee && isAttachment(formState)) && (!appInfo.ee || (appInfo.ee && !isXcdbBase(meta!.source_id) && formState.uidt === UITypes.SpecificDBType))"
class="text-xs text-gray-400 flex items-center justify-end"