From 4e33907d99eb9d1c7bb47c9f4f8d6c7c31faf26f Mon Sep 17 00:00:00 2001 From: Jan Date: Wed, 17 Jan 2024 10:27:11 +0100 Subject: [PATCH] Bugfix: Navigate into trashbin while sidebar is open is not possible (#10344) --- changelog/unreleased/enhancement-file-sidebar | 1 + packages/web-pkg/src/components/SideBar/SideBar.vue | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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))