From e1011651a4bf59cc2b251b81d1ded44581ecc41b Mon Sep 17 00:00:00 2001 From: DarkPhoenix2704 Date: Sat, 16 Sep 2023 16:18:17 +0530 Subject: [PATCH] fix: error api call --- packages/nc-gui/composables/useLTARStore.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/nc-gui/composables/useLTARStore.ts b/packages/nc-gui/composables/useLTARStore.ts index ad08986cf9..68e9dc8c0f 100644 --- a/packages/nc-gui/composables/useLTARStore.ts +++ b/packages/nc-gui/composables/useLTARStore.ts @@ -211,13 +211,13 @@ const [useProvideLTARStore, useLTARStore] = useInjectionState( const loadChildrenList = async () => { try { if (colOptions.value.type === 'bt') return - + if (!rowId.value || !column.value) return if (isPublic.value) { childrenList.value = await $api.public.dataNestedList( sharedView.value?.uuid as string, encodeURIComponent(rowId.value), colOptions.value.type as 'mm' | 'hm', - column?.value?.id, + column.value.id, { limit: String(childrenListPagination.size), offset: String(childrenListPagination.size * (childrenListPagination.page - 1)),