bugfix: child views not loading
This commit is contained in:
parent
b498d7809e
commit
1efc3cfd98
|
@ -13,7 +13,7 @@ export { canDeleteIndex } from "../../../core/src/templateApi/canDeleteIndex"
|
|||
export { canDeleteRecord } from "../../../core/src/templateApi/canDeleteRecord"
|
||||
export { userWithFullAccess } from "../../../core/src/index"
|
||||
export { joinKey } from "../../../core/src/common"
|
||||
|
||||
export { getExactNodeForKey } from "../../../core/src/templateApi/hierarchy"
|
||||
export const pipe = common.$
|
||||
|
||||
export const events = common.eventsList
|
||||
|
|
|
@ -77,7 +77,7 @@
|
|||
if (!view.name) return
|
||||
|
||||
const viewName = $backendUiStore.selectedRecord
|
||||
? `${$backendUiStore.selectedRecord.type}/${$backendUiStore.selectedRecord.id}/${view.name}`
|
||||
? `${$backendUiStore.selectedRecord.key}/${view.name}`
|
||||
: view.name
|
||||
|
||||
return await api.fetchDataForView(viewName, {
|
||||
|
|
Loading…
Reference in New Issue