Merge pull request #20564 from go2sh/fix_fileinfo

Set fileInfo correctly for LegacyTabs
This commit is contained in:
Morris Jobke 2020-04-21 12:24:54 +02:00 committed by GitHub
commit 89bd8ea449
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 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

@ -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)
}
},
},