aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorskjnldsv <skjnldsv@protonmail.com>2024-09-04 14:10:37 +0200
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2024-09-04 14:52:41 +0000
commit3a2a043ff6d737869f50be7c7a751a1aedfed219 (patch)
tree7235720193b732ca4e48fa4023b414ce158dc4f9 /apps
parentce7da15800cc0661b7723e128e4104971e3b048a (diff)
downloadnextcloud-server-3a2a043ff6d737869f50be7c7a751a1aedfed219.tar.gz
nextcloud-server-3a2a043ff6d737869f50be7c7a751a1aedfed219.zip
fix(files): undefined sidebar
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Diffstat (limited to 'apps')
-rw-r--r--apps/files/src/views/Sidebar.vue2
1 files changed, 1 insertions, 1 deletions
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) {