1 parent 8fc139d commit 346f703Copy full SHA for 346f703
1 file changed
apps/sim/app/workspace/[workspaceId]/tables/[tableId]/components/column-config-sidebar/column-types.ts
@@ -52,8 +52,8 @@ export function columnTypeOptionsForTable(
52
return COLUMN_TYPE_OPTIONS.map((option) => {
53
if (option.type === 'workflow') return option
54
if (currentColumn?.type === option.type) return option
55
- if (!wouldExceedColumnTypeLimit(columns, option.type, 1)) return option
56
if (option.maxPerTable === undefined) return option
+ if (!wouldExceedColumnTypeLimit(columns, option.type, 1)) return option
57
return {
58
...option,
59
disabledReason: columnTypeLimitMessage(option.label, option.maxPerTable),
0 commit comments