diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2020-10-17 15:55:14 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2020-10-17 15:55:14 +0200 |
commit | 9172b9ad206efa766cefec4e5c1db63fc9190432 (patch) | |
tree | b224bf94fd210a3aeec54a5ce3f0f13854e497b6 /apps | |
parent | 83429cb4c0f6b6e250e0130b71e9d9558c94d4a1 (diff) | |
download | nextcloud-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.js | 4 |
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() |