Skip to content

Commit

Permalink
Merge pull request #47738 from nextcloud/fix/sidebar-undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
skjnldsv authored Sep 4, 2024
2 parents f1706df + ed064ac commit 2d2a510
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
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
4 changes: 2 additions & 2 deletions dist/files-sidebar.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/files-sidebar.js.map

Large diffs are not rendered by default.

0 comments on commit 2d2a510

Please sign in to comment.