diff --git a/changelog/unreleased/enhancement-file-sidebar b/changelog/unreleased/enhancement-file-sidebar index d0a8d68ca03..44a75504d20 100644 --- a/changelog/unreleased/enhancement-file-sidebar +++ b/changelog/unreleased/enhancement-file-sidebar @@ -5,3 +5,4 @@ This makes in place viewing file details, tagging, sharing, and much more possib https://github.com/owncloud/web/pull/10111 https://github.com/owncloud/web/pull/10152 +https://github.com/owncloud/web/pull/10344 diff --git a/packages/web-pkg/src/components/SideBar/SideBar.vue b/packages/web-pkg/src/components/SideBar/SideBar.vue index da9ea11e2dc..fb244b742e7 100644 --- a/packages/web-pkg/src/components/SideBar/SideBar.vue +++ b/packages/web-pkg/src/components/SideBar/SideBar.vue @@ -163,7 +163,7 @@ export default defineComponent({ return panelName }, activePanelName() { - return this.activeAvailablePanelName || this.rootPanel.name + return this.activeAvailablePanelName || this.rootPanel?.name }, rootPanel() { return this.panels.find((panel) => panel.isRoot?.(this.panelContext))