summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2019-04-08 16:01:52 +0200
committerJulius Härtl <jus@bitgrid.net>2019-04-09 08:30:48 +0200
commitb479af83f06ae4d5330827a78d278d9266f514c0 (patch)
tree6627049d947ab33c5fbde02f8d17f3c3641a38eb /core
parentb518a6550d849e297914fd837c4af4885f183ea1 (diff)
downloadnextcloud-server-b479af83f06ae4d5330827a78d278d9266f514c0.tar.gz
nextcloud-server-b479af83f06ae4d5330827a78d278d9266f514c0.zip
Use label from apps
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'core')
-rw-r--r--core/src/OCP/collaboration.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/OCP/collaboration.js b/core/src/OCP/collaboration.js
index 394e1d34512..efc495b8bf2 100644
--- a/core/src/OCP/collaboration.js
+++ b/core/src/OCP/collaboration.js
@@ -64,7 +64,7 @@ export default {
return types[type].typeIconClass || '';
},
getLabel(type) {
- return t('core', 'Link to a {label}', { label: types[type].typeString || type }, 1)
+ return escapeHTML(types[type].typeString || type)
},
getLink(type, id) {
/* TODO: Allow action to be executed instead of href as well */