From 0fddf09cdca188a227a4daa0c5f16a50e590dbeb Mon Sep 17 00:00:00 2001 From: Mel O'Hagan Date: Fri, 18 Nov 2022 12:32:04 +0000 Subject: [PATCH] Break if any column is static formula --- packages/server/src/api/controllers/row/staticFormula.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/server/src/api/controllers/row/staticFormula.js b/packages/server/src/api/controllers/row/staticFormula.js index bc62c08198..2de3ae0e4f 100644 --- a/packages/server/src/api/controllers/row/staticFormula.js +++ b/packages/server/src/api/controllers/row/staticFormula.js @@ -62,6 +62,7 @@ exports.updateRelatedFormula = async (table, enrichedRows) => { }) ) ) + break } } } @@ -124,7 +125,6 @@ exports.finaliseRow = async ( dynamic: false, contextRows: enrichedRow, }) - // don't worry about rev, tables handle rev/lastID updates // if another row has been written since processing this will // handle the auto ID clash