From 567a4fac8d0bf36f083985d1eed6f74e9f69cb63 Mon Sep 17 00:00:00 2001 From: mertmit Date: Thu, 19 Sep 2024 11:54:48 +0000 Subject: [PATCH] fix: avoid formula error check if formula missing --- packages/nocodb/src/models/Column.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/nocodb/src/models/Column.ts b/packages/nocodb/src/models/Column.ts index c659db7a45..406e17885f 100644 --- a/packages/nocodb/src/models/Column.ts +++ b/packages/nocodb/src/models/Column.ts @@ -816,6 +816,7 @@ export default class Column implements ColumnType { if (button.type === 'url') { if ( + button.formula && addFormulaErrorIfMissingColumn({ formula: button, columnId: id, @@ -858,6 +859,7 @@ export default class Column implements ColumnType { formulaCol, ).getColOptions(context, ncMeta); if ( + formula.formula && addFormulaErrorIfMissingColumn({ formula, columnId: id,