mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-10 19:57:43 +02:00
EQMS-1202 Fix navigation in documents (#7630)
Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
This commit is contained in:
@@ -122,11 +122,11 @@ export async function generateLocation (loc: Location, id: Ref<Document>): Promi
|
||||
|
||||
return {
|
||||
loc: {
|
||||
path: [appComponent, workspace, documentId, doc.space],
|
||||
path: [appComponent, workspace],
|
||||
fragment: getPanelURI(document.component.EditDoc, doc._id, doc._class, 'content')
|
||||
},
|
||||
defaultLocation: {
|
||||
path: [appComponent, workspace, documentId],
|
||||
path: [appComponent, workspace],
|
||||
fragment: getPanelURI(document.component.EditDoc, doc._id, doc._class, 'content')
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user