1 parent 3044802 commit afa07f8Copy full SHA for afa07f8
1 file changed
apps/sim/app/workspace/[workspaceId]/tables/[tableId]/components/column-config-sidebar/column-types.ts
@@ -47,8 +47,8 @@ export function columnTypeOptionsForTable(
47
return COLUMN_TYPE_OPTIONS.map((option) => {
48
if (option.type === 'workflow') return option
49
if (currentColumn?.type === option.type) return option
50
- if (!wouldExceedColumnTypeLimit(columns, option.type, 1)) return option
51
if (option.maxPerTable === undefined) return option
+ if (!wouldExceedColumnTypeLimit(columns, option.type, 1)) return option
52
return {
53
...option,
54
disabledReason: columnTypeLimitMessage(option.label, option.maxPerTable),
0 commit comments