aboutsummaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
Diffstat (limited to 'core/src')
-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 a74834e741e..54b580406ed 100644
--- a/core/src/OCP/collaboration.js
+++ b/core/src/OCP/collaboration.js
@@ -49,7 +49,7 @@ export default {
return Object.keys(types);
},
getIcon(type) {
- return types[type].icon;
+ return types[type].icon || '';
},
getLabel(type) {
return t('files_sharing', 'Link to a {label}', { label: types[type].typeString || type }, 1)