Use formula correctly
This commit is contained in:
parent
b6ec0c3856
commit
2259e9d132
|
@ -84,6 +84,12 @@ export async function generateTables(
|
|||
}
|
||||
field.tableId = linkedTable.id
|
||||
}
|
||||
|
||||
for (const field of table.structure.schema.filter(
|
||||
f => f.type === FieldType.FORMULA
|
||||
)) {
|
||||
field.formula = `{{ js "${btoa(field.formula)}" }}`
|
||||
}
|
||||
}
|
||||
|
||||
for (const { structure: table } of Object.values(response.tables)) {
|
||||
|
|
Loading…
Reference in New Issue