Skip to content
This repository was archived by the owner on Jul 28, 2025. It is now read-only.

Commit 5388538

Browse files
committed
control empty formula types & default value
1 parent 94c3008 commit 5388538

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/modals/columnSettings/handlers/automations/FormulaInputHandler.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ export class FormulaInputHandler extends AbstractHandlerClass<ColumnSettingsHand
2424
column.config.link_alias_enabled = value;
2525
// Persist value
2626
await view.diskConfig.updateColumnConfig(column.id, {
27-
persist_changes: value
27+
persist_changes: value,
28+
formula_persist_type: value ? InputType.TEXT : null
2829
});
2930
columnHandlerResponse.column.config.persist_changes = value;
3031
columnSettingsManager.modal.enableReset = true;

0 commit comments

Comments
 (0)