|
|
@ -93,6 +93,8 @@ const [useProvideLTARStore, useLTARStore] = useInjectionState( |
|
|
|
|
|
|
|
|
|
|
|
const loadChildrenList = async () => { |
|
|
|
const loadChildrenList = async () => { |
|
|
|
try { |
|
|
|
try { |
|
|
|
|
|
|
|
if (colOptions.type === 'bt') return |
|
|
|
|
|
|
|
|
|
|
|
childrenList.value = await $api.dbTableRow.nestedList( |
|
|
|
childrenList.value = await $api.dbTableRow.nestedList( |
|
|
|
NOCO, |
|
|
|
NOCO, |
|
|
|
project.value.id as string, |
|
|
|
project.value.id as string, |
|
|
@ -198,6 +200,7 @@ const [useProvideLTARStore, useLTARStore] = useInjectionState( |
|
|
|
column?.value?.title, |
|
|
|
column?.value?.title, |
|
|
|
getRelatedTableRowId(row) as string, |
|
|
|
getRelatedTableRowId(row) as string, |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
await loadChildrenList() |
|
|
|
} catch (e: any) { |
|
|
|
} catch (e: any) { |
|
|
|
notification.error({ |
|
|
|
notification.error({ |
|
|
|
message: 'Linking failed', |
|
|
|
message: 'Linking failed', |
|
|
|