aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/src/files_sharing.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/src/files_sharing.js')
-rw-r--r--apps/files_sharing/src/files_sharing.js11
1 files changed, 2 insertions, 9 deletions
diff --git a/apps/files_sharing/src/files_sharing.js b/apps/files_sharing/src/files_sharing.js
index 9009bdde7ec..56bd2f67613 100644
--- a/apps/files_sharing/src/files_sharing.js
+++ b/apps/files_sharing/src/files_sharing.js
@@ -1,10 +1,5 @@
-// CSP config for webpack dynamic chunk loading
-// eslint-disable-next-line
-__webpack_nonce__ = btoa(OC.requestToken)
-// Correct the root of the app for chunk loading
-// OC.linkTo matches the apps folders
-// eslint-disable-next-line
+__webpack_nonce__ = btoa(OC.requestToken)
__webpack_public_path__ = OC.linkTo('files_sharing', 'js/dist/')
import '../js/app'
@@ -26,10 +21,8 @@ window.OCP.Collaboration.registerType('files', {
}, false);
})
},
- link: (id) => OC.generateUrl('/f/') + id,
- icon: 'nav-icon-files',
/** used in "Link to a {typeString}" */
- typeString: 'file'
+ typeString: t('files_sharing', 'file')
});
window.OCA.Sharing = OCA.Sharing