mirror of
https://github.com/hcengineering/platform.git
synced 2025-05-11 18:01:59 +00:00
UBERF-10507 Navigate to drive instead of drive:ids:Root folder (#8853)
Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
This commit is contained in:
parent
3144978643
commit
232eae5448
@ -131,7 +131,7 @@ export async function generateFileLocation (loc: Location, id: Ref<File>): Promi
|
|||||||
return {
|
return {
|
||||||
loc: {
|
loc: {
|
||||||
path:
|
path:
|
||||||
doc.parent !== undefined
|
doc.parent !== undefined && doc.parent !== drive.ids.Root
|
||||||
? [appComponent, workspace, driveId, 'folder', doc.parent]
|
? [appComponent, workspace, driveId, 'folder', doc.parent]
|
||||||
: [appComponent, workspace, driveId],
|
: [appComponent, workspace, driveId],
|
||||||
fragment: getPanelFragment(doc)
|
fragment: getPanelFragment(doc)
|
||||||
|
Loading…
Reference in New Issue
Block a user