mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-29 15:46:39 +00:00
feat: modify nestedList params
Signed-off-by: Pranav C <61551451+pranavxc@users.noreply.github.com>
This commit is contained in:
@@ -91,8 +91,8 @@ export default class GqlApi {
|
||||
|
||||
async gqlRelationReqBody(params) {
|
||||
let str = '';
|
||||
if (params.childs) {
|
||||
for (const child of params.childs.split(',')) {
|
||||
if (params.hm) {
|
||||
for (const child of params.hm.split(',')) {
|
||||
await this.$ctx.$store.dispatch('meta/ActLoadMeta', {
|
||||
dbAlias: this.$ctx.nodes.dbAlias,
|
||||
env: this.$ctx.nodes.env,
|
||||
@@ -104,8 +104,8 @@ export default class GqlApi {
|
||||
}
|
||||
}
|
||||
}
|
||||
if (params.parents) {
|
||||
for (const parent of params.parents.split(',')) {
|
||||
if (params.bt) {
|
||||
for (const parent of params.bt.split(',')) {
|
||||
await this.$ctx.$store.dispatch('meta/ActLoadMeta', {
|
||||
dbAlias: this.$ctx.nodes.dbAlias,
|
||||
env: this.$ctx.nodes.env,
|
||||
@@ -117,8 +117,8 @@ export default class GqlApi {
|
||||
}
|
||||
}
|
||||
}
|
||||
if (params.many) {
|
||||
for (const mm of params.many.split(',')) {
|
||||
if (params.mm) {
|
||||
for (const mm of params.mm.split(',')) {
|
||||
await this.$ctx.$store.dispatch('meta/ActLoadMeta', {
|
||||
dbAlias: this.$ctx.nodes.dbAlias,
|
||||
env: this.$ctx.nodes.env,
|
||||
|
||||
Reference in New Issue
Block a user