diff --git a/apps/files/src/actions/sidebarAction.ts b/apps/files/src/actions/sidebarAction.ts index 339e75e09aa9a..e5178fe3ed170 100644 --- a/apps/files/src/actions/sidebarAction.ts +++ b/apps/files/src/actions/sidebarAction.ts @@ -49,8 +49,8 @@ export const action = new FileAction({ logger.debug('Sidebar already open for this file', { node }) return null } - // Open sidebar and set active tab to sharing by default - window.OCA.Files?.Sidebar?.setActiveTab('sharing') + // Open sidebar and set active tab to manage sharing by default + window.OCA.Files.Sidebar.setActiveTab('sharing-manage'); // TODO: migrate Sidebar to use a Node instead await window.OCA.Files?.Sidebar?.open(node.path)