1
0
Fork 0
mirror of synced 2024-10-04 03:54:37 +13:00

Merge pull request #5304 from Budibase/bug/sev3/empty_static_formula_column

Fix for empty static formula column creation error
This commit is contained in:
melohagan 2022-04-13 11:33:20 +01:00 committed by GitHub
commit 54b975cb9f

View file

@ -25,7 +25,7 @@ function getFormulaThatUseColumn(table, columnNames) {
if (!isStaticFormula(column)) {
continue
}
if (!doesContainStrings(column.formula, columnNames)) {
if (!doesContainStrings(column?.formula ?? "", columnNames)) {
continue
}
formula.push(column.name)