Browse Source

fix(gui-v2): exclude m2m table if `includeM2M` value is `false` of `"false"`

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/3375/head
Pranav C 2 years ago
parent
commit
9f94a8605e
  1. 2
      packages/nocodb/src/lib/meta/api/modelVisibilityApis.ts

2
packages/nocodb/src/lib/meta/api/modelVisibilityApis.ts

@ -115,7 +115,7 @@ router.get(
await xcVisibilityMetaGet( await xcVisibilityMetaGet(
req.params.projectId, req.params.projectId,
null, null,
req.query.includeM2M req.query.includeM2M === true || req.query.includeM2M === 'true'
) )
); );
}, 'modelVisibilityList') }, 'modelVisibilityList')

Loading…
Cancel
Save