diff --git a/apps/files_sharing/src/collaborationresourceshandler.js b/apps/files_sharing/src/collaborationresourceshandler.js index fe27bd7fca..0ad7220d78 100644 --- a/apps/files_sharing/src/collaborationresourceshandler.js +++ b/apps/files_sharing/src/collaborationresourceshandler.js @@ -1,7 +1,7 @@ __webpack_public_path__ = OC.linkTo('files_sharing', 'js/dist/'); __webpack_nonce__ = btoa(OC.requestToken); -window.OCP.Collaboration.registerType('files', { +window.OCP.Collaboration.registerType('file', { action: () => { return new Promise((resolve, reject) => { OC.dialogs.filepicker('Link to a file', function (f) { diff --git a/apps/files_sharing/src/views/CollaborationView.vue b/apps/files_sharing/src/views/CollaborationView.vue index 6a64abb146..9049db9f63 100644 --- a/apps/files_sharing/src/views/CollaborationView.vue +++ b/apps/files_sharing/src/views/CollaborationView.vue @@ -21,7 +21,7 @@ -->