Browse Source

fix: error api call

pull/6360/head
DarkPhoenix2704 1 year ago
parent
commit
e1011651a4
  1. 4
      packages/nc-gui/composables/useLTARStore.ts

4
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)),

Loading…
Cancel
Save