Browse Source

fix: pass proper model id

pull/7459/head
Pranav C 10 months ago
parent
commit
0d5e15e765
  1. 2
      packages/nocodb/src/models/Column.ts

2
packages/nocodb/src/models/Column.ts

@ -1168,7 +1168,7 @@ export default class Column<T = any> implements ColumnType {
// whenever a new request comes for that formula, it will be populated again // whenever a new request comes for that formula, it will be populated again
getFormulasReferredTheColumn({ getFormulasReferredTheColumn({
column: updatedColumn, column: updatedColumn,
columns: await Column.list({ fk_model_id: column.fk_model_id }, ncMeta), columns: await Column.list({ fk_model_id: oldCol.fk_model_id }, ncMeta),
}) })
.then(async (formulas) => { .then(async (formulas) => {
for (const formula of formulas) { for (const formula of formulas) {

Loading…
Cancel
Save