diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2020-10-04 13:49:57 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2020-10-07 09:40:59 +0200 |
commit | 4de6e807714560329e55c3ed09d6ff029a1eb6df (patch) | |
tree | f79cad4ba84ca7c54503e53eea4c15bba9d58a5b /apps/files/js/filelist.js | |
parent | 843d799a2e2c884026883e3f41b81066801a877d (diff) | |
download | nextcloud-server-4de6e807714560329e55c3ed09d6ff029a1eb6df.tar.gz nextcloud-server-4de6e807714560329e55c3ed09d6ff029a1eb6df.zip |
Upgrade lifecycle and vue parent context
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
Diffstat (limited to 'apps/files/js/filelist.js')
-rw-r--r-- | apps/files/js/filelist.js | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index 3f144cc1f24..ef5fffced40 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -3704,11 +3704,17 @@ id: tabView.id, name: tabView.getLabel(), icon: tabView.getIcon(), - render: function(el, fileInfo) { + mount: function(el, fileInfo) { tabView.setFileInfo(fileInfo) el.appendChild(tabView.el) }, - enabled, + update: function(fileInfo) { + tabView.setFileInfo(fileInfo) + }, + destroy: function() { + tabView.el.remove() + }, + enabled: enabled })) } }, |