diff options
author | skjnldsv <skjnldsv@protonmail.com> | 2024-09-04 14:10:37 +0200 |
---|---|---|
committer | skjnldsv <skjnldsv@protonmail.com> | 2024-09-04 14:10:37 +0200 |
commit | 62878c5ece932b0386e0de7790ff5ed9575412db (patch) | |
tree | 3b86fbd7829483d2fbc793ed5fa6d6fb50213b5c /apps | |
parent | f1706df3676574dd63e7b34aff50d3e4fe136377 (diff) | |
download | nextcloud-server-62878c5ece932b0386e0de7790ff5ed9575412db.tar.gz nextcloud-server-62878c5ece932b0386e0de7790ff5ed9575412db.zip |
fix(files): undefined sidebar
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files/src/views/Sidebar.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/src/views/Sidebar.vue b/apps/files/src/views/Sidebar.vue index 1820eb8b089..8fcfda4e6b7 100644 --- a/apps/files/src/views/Sidebar.vue +++ b/apps/files/src/views/Sidebar.vue @@ -476,7 +476,7 @@ export default { await this.$nextTick() - if (focusTabAfterLoad) { + if (focusTabAfterLoad && this.$refs.sidebar) { this.$refs.sidebar.focusActiveTabContent() } } catch (error) { |