From ad6ebaad36920bc0b5cc91d467b0933862977337 Mon Sep 17 00:00:00 2001 From: hrutik7 <62372737+hrutik7@users.noreply.github.com> Date: Fri, 11 Aug 2023 21:33:32 +0530 Subject: [PATCH] columnkey update to parentlabel for subtable --- src/components/fields/SubTable/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/fields/SubTable/utils.ts b/src/components/fields/SubTable/utils.ts index 79ae5dc15..4bff86027 100644 --- a/src/components/fields/SubTable/utils.ts +++ b/src/components/fields/SubTable/utils.ts @@ -26,7 +26,7 @@ export const useSubTableData = ( rootTablePath, ROUTES.subTable, encodeURIComponent(_rowy_ref.path), - column.key, + column.config?.parentLabel![0], ].join("/"); subTablePath += "?parentLabel=" + encodeURIComponent(label ?? "");