From 3add4bb2d39f15bacea2267bdad2dfba7c22b0bb Mon Sep 17 00:00:00 2001 From: Pranav C <61551451+pranavxc@users.noreply.github.com> Date: Thu, 8 Jul 2021 14:00:10 +0530 Subject: [PATCH] feat: GQL - M2M Signed-off-by: Pranav C <61551451+pranavxc@users.noreply.github.com> --- .../project/spreadsheet/apis/gqlApi.js | 1 - .../editColumn/linkedToAnotherOptions.vue | 49 ++++++++++++------- .../spreadsheet/components/expandedForm.vue | 6 ++- .../components/virtualCell/belogsToCell.vue | 9 ++-- .../components/virtualCell/hasManyCell.vue | 12 ++--- .../components/virtualCell/manyToManyCell.vue | 8 +-- .../src/lib/noco/common/BaseApiBuilder.ts | 18 ++++--- .../nocodb/src/lib/noco/gql/GqlApiBuilder.ts | 19 ++++--- .../nocodb/src/lib/noco/meta/NcMetaMgr.ts | 18 ++++--- .../src/lib/noco/rest/RestApiBuilder.ts | 13 ++++- .../gql-schema/xc-ts/GqlXcTsSchemaMssql.ts | 13 +++-- 11 files changed, 96 insertions(+), 70 deletions(-) diff --git a/packages/nc-gui/components/project/spreadsheet/apis/gqlApi.js b/packages/nc-gui/components/project/spreadsheet/apis/gqlApi.js index de21811959..2ef272997f 100644 --- a/packages/nc-gui/components/project/spreadsheet/apis/gqlApi.js +++ b/packages/nc-gui/components/project/spreadsheet/apis/gqlApi.js @@ -90,7 +90,6 @@ export default class GqlApi { } async gqlRelationReqBody(params) { - let str = ''; if (params.childs) { for (const child of params.childs.split(',')) { diff --git a/packages/nc-gui/components/project/spreadsheet/components/editColumn/linkedToAnotherOptions.vue b/packages/nc-gui/components/project/spreadsheet/components/editColumn/linkedToAnotherOptions.vue index d1e25ea649..0efb560a37 100644 --- a/packages/nc-gui/components/project/spreadsheet/components/editColumn/linkedToAnotherOptions.vue +++ b/packages/nc-gui/components/project/spreadsheet/components/editColumn/linkedToAnotherOptions.vue @@ -14,11 +14,12 @@ - + - - - +