Merge pull request #23271 from nextcloud/fix/sidebar-updateTabs
Fix sidebar updateTabs method
This commit is contained in:
commit
c578b11fe3
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -258,8 +258,8 @@ export default {
|
||||||
})
|
})
|
||||||
|
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
if (this.$refs.sidebar) {
|
if (this.$refs.tabs) {
|
||||||
this.$refs.sidebar.updateTabs()
|
this.$refs.tabs.updateTabs()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
@ -284,8 +284,8 @@ export default {
|
||||||
this.error = null
|
this.error = null
|
||||||
this.fileInfo = null
|
this.fileInfo = null
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
if (this.$refs.sidebar) {
|
if (this.$refs.tabs) {
|
||||||
this.$refs.sidebar.updateTabs()
|
this.$refs.tabs.updateTabs()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
@ -430,8 +430,8 @@ export default {
|
||||||
})
|
})
|
||||||
|
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
if (this.$refs.sidebar) {
|
if (this.$refs.tabs) {
|
||||||
this.$refs.sidebar.updateTabs()
|
this.$refs.tabs.updateTabs()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|
Loading…
Reference in New Issue