bugfix: child views not loading

This commit is contained in:
Michael Shanks 2020-03-26 14:31:56 +00:00
parent b498d7809e
commit 1efc3cfd98
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 { canDeleteRecord } from "../../../core/src/templateApi/canDeleteRecord"
export { userWithFullAccess } from "../../../core/src/index" export { userWithFullAccess } from "../../../core/src/index"
export { joinKey } from "../../../core/src/common" export { joinKey } from "../../../core/src/common"
export { getExactNodeForKey } from "../../../core/src/templateApi/hierarchy"
export const pipe = common.$ export const pipe = common.$
export const events = common.eventsList export const events = common.eventsList

View File

@ -77,7 +77,7 @@
if (!view.name) return if (!view.name) return
const viewName = $backendUiStore.selectedRecord const viewName = $backendUiStore.selectedRecord
? `${$backendUiStore.selectedRecord.type}/${$backendUiStore.selectedRecord.id}/${view.name}` ? `${$backendUiStore.selectedRecord.key}/${view.name}`
: view.name : view.name
return await api.fetchDataForView(viewName, { return await api.fetchDataForView(viewName, {