summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/src/files_sharing.js
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2019-01-29 12:22:34 +0100
committerJulius Härtl <jus@bitgrid.net>2019-03-01 20:56:18 +0100
commit53ac9bdda17e5141fceaec1a895f733c13c73c7a (patch)
tree19c81b212c82930e948dc98ae0cef5be5d427de3 /apps/files_sharing/src/files_sharing.js
parent3777df64ae0a4a3d79e000541c0c512fb3ebf304 (diff)
downloadnextcloud-server-53ac9bdda17e5141fceaec1a895f733c13c73c7a.tar.gz
nextcloud-server-53ac9bdda17e5141fceaec1a895f733c13c73c7a.zip
Implement frontend for search/rename
Signed-off-by: Julius Härtl <jus@bitgrid.net> Move to vuex Signed-off-by: Julius Härtl <jus@bitgrid.net>
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