Browse Source

fix(nocodb): update if condition

pull/8901/head
Ramesh Mane 5 months ago
parent
commit
bee9200718
  1. 2
      packages/nocodb/src/db/BaseModelSqlv2.ts

2
packages/nocodb/src/db/BaseModelSqlv2.ts

@ -5091,7 +5091,7 @@ class BaseModelSqlv2 {
for (const k of Object.keys(updateObj)) { for (const k of Object.keys(updateObj)) {
if ( if (
updateObj[k] === null || updateObj[k] === null ||
updateObj[k] == null || updateObj[k] === undefined ||
(typeof updateObj[k] === 'string' && updateObj[k] === '') (typeof updateObj[k] === 'string' && updateObj[k] === '')
) { ) {
continue; continue;

Loading…
Cancel
Save