diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-12-03 18:20:46 +0100 |
---|---|---|
committer | npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com> | 2019-12-04 08:07:42 +0000 |
commit | 241aac9f946d06fcb8cee84d6839253ad19ee929 (patch) | |
tree | 51ae87047cd3c4bf2978a4326355993164206c23 /apps/files/src/views | |
parent | cd71ad0e50ecafdbad67c99d77bd77b32bdd5ca5 (diff) | |
download | nextcloud-server-241aac9f946d06fcb8cee84d6839253ad19ee929.tar.gz nextcloud-server-241aac9f946d06fcb8cee84d6839253ad19ee929.zip |
Fix files app LoadSidebar event
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/src/views')
-rw-r--r-- | apps/files/src/views/Sidebar.vue | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/files/src/views/Sidebar.vue b/apps/files/src/views/Sidebar.vue index 47a2174b8cb..4b9e7b514ff 100644 --- a/apps/files/src/views/Sidebar.vue +++ b/apps/files/src/views/Sidebar.vue @@ -199,6 +199,8 @@ export default { defaultAction() { return this.fileInfo && OCA.Files && OCA.Files.App && OCA.Files.App.fileList + && OCA.Files.App.fileList.fileActions + && OCA.Files.App.fileList.fileActions.getDefaultFileAction && OCA.Files.App.fileList .fileActions.getDefaultFileAction(this.fileInfo.mimetype, this.fileInfo.type, OC.PERMISSION_READ) @@ -239,7 +241,7 @@ export default { }) } catch (error) { this.error = t('files', 'Error while loading the file data') - console.error('Error while loading the file data') + console.error('Error while loading the file data', error) } } } |