Types
This commit is contained in:
parent
6fa5727166
commit
9391854f46
|
@ -54,14 +54,15 @@ export function processFormulas(
|
||||||
rowArray = rows
|
rowArray = rows
|
||||||
}
|
}
|
||||||
for (let [column, schema] of Object.entries(table.schema)) {
|
for (let [column, schema] of Object.entries(table.schema)) {
|
||||||
const isStaticFormula =
|
const isStatic =
|
||||||
schema.type === FieldTypes.FORMULA &&
|
schema.type === FieldTypes.FORMULA &&
|
||||||
schema.formulaType === FormulaTypes.STATIC
|
schema.formulaType === FormulaTypes.STATIC
|
||||||
|
|
||||||
if (
|
if (
|
||||||
schema.type !== FieldTypes.FORMULA ||
|
schema.type !== FieldTypes.FORMULA ||
|
||||||
schema.formula == null ||
|
schema.formula == null ||
|
||||||
(dynamic && isStaticFormula) ||
|
(dynamic && isStatic) ||
|
||||||
(!dynamic && !isStaticFormula)
|
(!dynamic && !isStatic)
|
||||||
) {
|
) {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue