fix(files): undefined sidebar

Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
This commit is contained in:
skjnldsv 2024-09-04 14:10:37 +02:00 committed by backportbot[bot]
parent ce7da15800
commit 3a2a043ff6

View file

@ -491,7 +491,7 @@ export default {
await this.$nextTick()
if (focusTabAfterLoad) {
if (focusTabAfterLoad && this.$refs.sidebar) {
this.$refs.sidebar.focusActiveTabContent()
}
} catch (error) {