1
0
Fork 0
mirror of synced 2024-10-02 10:08:09 +13:00

bugfix: child views not loading

This commit is contained in:
Michael Shanks 2020-03-26 14:31:56 +00:00
parent faee6b15a4
commit 3f1fcfa50c
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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, {