Skip to content

Commit 8da0fe8

Browse files
authored
UBERF-10507 Navigate to drive instead of drive:ids:Root folder (#8853) (#8897)
Signed-off-by: Alexander Onnikov <[email protected]>
1 parent f8f3f5e commit 8da0fe8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/drive-resources/src/navigation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ export async function generateFileLocation (loc: Location, id: Ref<File>): Promi
131131
return {
132132
loc: {
133133
path:
134-
doc.parent !== undefined
134+
doc.parent !== undefined && doc.parent !== drive.ids.Root
135135
? [appComponent, workspace, driveId, 'folder', doc.parent]
136136
: [appComponent, workspace, driveId],
137137
fragment: getPanelFragment(doc)

0 commit comments

Comments
 (0)