From 3a2a043ff6d737869f50be7c7a751a1aedfed219 Mon Sep 17 00:00:00 2001 From: skjnldsv Date: Wed, 4 Sep 2024 14:10:37 +0200 Subject: fix(files): undefined sidebar Signed-off-by: skjnldsv --- apps/files/src/views/Sidebar.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/files/src/views/Sidebar.vue b/apps/files/src/views/Sidebar.vue index c76cfc45af5..40368f0e4be 100644 --- a/apps/files/src/views/Sidebar.vue +++ b/apps/files/src/views/Sidebar.vue @@ -491,7 +491,7 @@ export default { await this.$nextTick() - if (focusTabAfterLoad) { + if (focusTabAfterLoad && this.$refs.sidebar) { this.$refs.sidebar.focusActiveTabContent() } } catch (error) { -- cgit v1.2.3