From 6f9a741be94645a5dd8e284f204a4fcc1fc59946 Mon Sep 17 00:00:00 2001 From: Jan Ackermann Date: Tue, 16 Jan 2024 14:25:46 +0100 Subject: [PATCH 1/2] Fix bug where access property of null --- packages/web-pkg/src/components/SideBar/SideBar.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) From 9ef453ef7ada09309be23b6a001ec8a288cc03aa Mon Sep 17 00:00:00 2001 From: Jan Ackermann Date: Tue, 16 Jan 2024 15:50:35 +0100 Subject: [PATCH 2/2] Enhance changelog item --- changelog/unreleased/enhancement-file-sidebar | 1 + 1 file changed, 1 insertion(+) 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