From 232eae5448cf56d973f381b8f0ab8d51dcee6061 Mon Sep 17 00:00:00 2001 From: Alexander Onnikov Date: Tue, 6 May 2025 16:08:53 +0700 Subject: [PATCH] UBERF-10507 Navigate to drive instead of drive:ids:Root folder (#8853) Signed-off-by: Alexander Onnikov --- plugins/drive-resources/src/navigation.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/drive-resources/src/navigation.ts b/plugins/drive-resources/src/navigation.ts index 7ee757feaf..4b3d1897dd 100644 --- a/plugins/drive-resources/src/navigation.ts +++ b/plugins/drive-resources/src/navigation.ts @@ -131,7 +131,7 @@ export async function generateFileLocation (loc: Location, id: Ref): 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)