mirror of
https://github.com/hcengineering/platform.git
synced 2025-05-10 09:22:23 +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 {
|
||||
loc: {
|
||||
path:
|
||||
doc.parent !== undefined
|
||||
doc.parent !== undefined && doc.parent !== drive.ids.Root
|
||||
? [appComponent, workspace, driveId, 'folder', doc.parent]
|
||||
: [appComponent, workspace, driveId],
|
||||
fragment: getPanelFragment(doc)
|
||||
|
Loading…
Reference in New Issue
Block a user