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
parent f1706df367
commit 62878c5ece

View file

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