Skip to content

Commit fbf77cb

Browse files
skjnldsvnpmbuildbot[bot]
authored andcommitted
Fix sidebar updateTabs method
Signed-off-by: John Molakvoæ (skjnldsv) <[email protected]> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
1 parent f4891da commit fbf77cb

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

apps/files/js/dist/sidebar.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/files/js/dist/sidebar.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/files/src/views/Sidebar.vue

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -258,8 +258,8 @@ export default {
258258
})
259259
260260
this.$nextTick(() => {
261-
if (this.$refs.sidebar) {
262-
this.$refs.sidebar.updateTabs()
261+
if (this.$refs.tabs) {
262+
this.$refs.tabs.updateTabs()
263263
}
264264
})
265265
} catch (error) {
@@ -284,8 +284,8 @@ export default {
284284
this.error = null
285285
this.fileInfo = null
286286
this.$nextTick(() => {
287-
if (this.$refs.sidebar) {
288-
this.$refs.sidebar.updateTabs()
287+
if (this.$refs.tabs) {
288+
this.$refs.tabs.updateTabs()
289289
}
290290
})
291291
},
@@ -430,8 +430,8 @@ export default {
430430
})
431431
432432
this.$nextTick(() => {
433-
if (this.$refs.sidebar) {
434-
this.$refs.sidebar.updateTabs()
433+
if (this.$refs.tabs) {
434+
this.$refs.tabs.updateTabs()
435435
}
436436
})
437437
} catch (error) {

0 commit comments

Comments
 (0)