Merge pull request #23271 from nextcloud/fix/sidebar-updateTabs

Fix sidebar updateTabs method
This commit is contained in:
John Molakvoæ 2020-10-08 12:25:59 +02:00 committed by GitHub
commit c578b11fe3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 8 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -258,8 +258,8 @@ export default {
})
this.$nextTick(() => {
if (this.$refs.sidebar) {
this.$refs.sidebar.updateTabs()
if (this.$refs.tabs) {
this.$refs.tabs.updateTabs()
}
})
} catch (error) {
@ -284,8 +284,8 @@ export default {
this.error = null
this.fileInfo = null
this.$nextTick(() => {
if (this.$refs.sidebar) {
this.$refs.sidebar.updateTabs()
if (this.$refs.tabs) {
this.$refs.tabs.updateTabs()
}
})
},
@ -430,8 +430,8 @@ export default {
})
this.$nextTick(() => {
if (this.$refs.sidebar) {
this.$refs.sidebar.updateTabs()
if (this.$refs.tabs) {
this.$refs.tabs.updateTabs()
}
})
} catch (error) {