From 021d448c3a978b5e6c6b02cf1cb43eb0e09d6735 Mon Sep 17 00:00:00 2001 From: Pranav C Date: Sat, 10 Jun 2023 01:25:29 +0530 Subject: [PATCH] fix: correct the default singular/plural for referenced table Signed-off-by: Pranav C --- packages/nocodb/src/helpers/columnHelpers.ts | 2 +- packages/nocodb/src/services/columns.service.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/nocodb/src/helpers/columnHelpers.ts b/packages/nocodb/src/helpers/columnHelpers.ts index 0908241998..0831a5adfc 100644 --- a/packages/nocodb/src/helpers/columnHelpers.ts +++ b/packages/nocodb/src/helpers/columnHelpers.ts @@ -222,7 +222,7 @@ export async function populateRollupForLTAR({ columnMeta }: { column: Column; - columnMeta: any; + columnMeta?: any; }) { const model = await column.getModel(); diff --git a/packages/nocodb/src/services/columns.service.ts b/packages/nocodb/src/services/columns.service.ts index 3a5a8df4e9..47c9bcfbce 100644 --- a/packages/nocodb/src/services/columns.service.ts +++ b/packages/nocodb/src/services/columns.service.ts @@ -1815,7 +1815,7 @@ export class ColumnsService { await populateRollupForLTAR({ column: col1, - columnMeta: param.column['meta'], + // columnMeta: param.column['meta'], }); await populateRollupForLTAR({ column: col2,