Browse Source
Merge pull request #5304 from Budibase/bug/sev3/empty_static_formula_column
Fix for empty static formula column creation error
pull/5399/head
melohagan
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
packages/server/src/api/controllers/table/bulkFormula.js
|
|
@ -25,7 +25,7 @@ function getFormulaThatUseColumn(table, columnNames) { |
|
|
if (!isStaticFormula(column)) { |
|
|
if (!isStaticFormula(column)) { |
|
|
continue |
|
|
continue |
|
|
} |
|
|
} |
|
|
if (!doesContainStrings(column.formula, columnNames)) { |
|
|
if (!doesContainStrings(column?.formula ?? "", columnNames)) { |
|
|
continue |
|
|
continue |
|
|
} |
|
|
} |
|
|
formula.push(column.name) |
|
|
formula.push(column.name) |
|
|
|