Skip to content

Commit

Permalink
fix(files): undefined sidebar
Browse files Browse the repository at this point in the history
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
  • Loading branch information
skjnldsv committed Sep 4, 2024
1 parent f1706df commit 62878c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/files/src/views/Sidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ export default {

await this.$nextTick()

if (focusTabAfterLoad) {
if (focusTabAfterLoad && this.$refs.sidebar) {
this.$refs.sidebar.focusActiveTabContent()
}
} catch (error) {
Expand Down

0 comments on commit 62878c5

Please sign in to comment.