mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 00:32:29 -04:00
Set fileInfo correctly for LegacyTabs
Watch for changes of the fileInfo prop and propagate it to, the underlying component. Fixes #20106. Signed-off-by: Christoph Seitz <christoph.seitz@posteo.de> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
This commit is contained in:
parent
2cf8fab366
commit
185f867bf8
3 changed files with 5 additions and 5 deletions
2
apps/files/js/dist/sidebar.js
vendored
2
apps/files/js/dist/sidebar.js
vendored
File diff suppressed because one or more lines are too long
2
apps/files/js/dist/sidebar.js.map
vendored
2
apps/files/js/dist/sidebar.js.map
vendored
File diff suppressed because one or more lines are too long
|
|
@ -68,9 +68,9 @@ export default {
|
|||
},
|
||||
},
|
||||
watch: {
|
||||
activeTab(activeTab) {
|
||||
if (activeTab === this.id && this.fileInfo) {
|
||||
this.setFileInfo(this.fileInfo)
|
||||
fileInfo(fileInfo) {
|
||||
if (fileInfo) {
|
||||
this.setFileInfo(fileInfo)
|
||||
}
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue