summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2020-10-17 15:55:14 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2020-10-17 15:55:14 +0200
commit9172b9ad206efa766cefec4e5c1db63fc9190432 (patch)
treeb224bf94fd210a3aeec54a5ce3f0f13854e497b6 /apps
parent83429cb4c0f6b6e250e0130b71e9d9558c94d4a1 (diff)
downloadnextcloud-server-9172b9ad206efa766cefec4e5c1db63fc9190432.tar.gz
nextcloud-server-9172b9ad206efa766cefec4e5c1db63fc9190432.zip
Fix sidebar legacy fileinfo
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps')
-rw-r--r--apps/files/js/filelist.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js
index ef5fffced40..936f907a324 100644
--- a/apps/files/js/filelist.js
+++ b/apps/files/js/filelist.js
@@ -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()