mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 09:13:19 -04:00
Fix sidebar legacy fileinfo
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
83429cb4c0
commit
9172b9ad20
1 changed files with 2 additions and 2 deletions
|
|
@ -3705,11 +3705,11 @@
|
|||
name: tabView.getLabel(),
|
||||
icon: tabView.getIcon(),
|
||||
mount: function(el, fileInfo) {
|
||||
tabView.setFileInfo(fileInfo)
|
||||
tabView.setFileInfo(new OCA.Files.FileInfoModel(fileInfo))
|
||||
el.appendChild(tabView.el)
|
||||
},
|
||||
update: function(fileInfo) {
|
||||
tabView.setFileInfo(fileInfo)
|
||||
tabView.setFileInfo(new OCA.Files.FileInfoModel(fileInfo))
|
||||
},
|
||||
destroy: function() {
|
||||
tabView.el.remove()
|
||||
|
|
|
|||
Loading…
Reference in a new issue