Browse Source

fix(nocodb): apply !!insertObj.mm even undefined

pull/5168/head
Wing-Kam Wong 2 years ago
parent
commit
2bee197f29
  1. 2
      packages/nocodb/src/lib/models/Model.ts

2
packages/nocodb/src/lib/models/Model.ts

@ -114,9 +114,7 @@ export default class Model implements TableType {
'id',
]);
if (insertObj.mm) {
insertObj.mm = !!insertObj.mm;
}
if (!insertObj.order) {
insertObj.order = await ncMeta.metaGetNextOrder(

Loading…
Cancel
Save