EQMS-1202 Fix navigation in documents (#7630)

Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
This commit is contained in:
Alexander Onnikov
2025-01-13 13:00:44 +07:00
committed by GitHub
parent 7702c5ef83
commit ab28a62ecb
4 changed files with 17 additions and 12 deletions
@@ -50,7 +50,7 @@ async function generateDocumentLocation (
return {
loc: {
path: [appComponent, workspace, documentsId, doc.space],
path: [appComponent, workspace],
fragment: getPanelFragment(doc)
},
defaultLocation: {
@@ -86,7 +86,7 @@ async function generateProjectDocumentLocation (
return {
loc: {
path: [appComponent, workspace, documentsId, prjdoc.space],
path: [appComponent, workspace],
fragment: getPanelFragment(prjdoc)
},
defaultLocation: {