summaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2019-01-31 11:22:46 +0100
committerJulius Härtl <jus@bitgrid.net>2019-03-01 20:56:18 +0100
commit31340b8be944fbf86237c10bff87b5ca3a2ffa8a (patch)
tree5cf05f44970b5fd71e4fe4883d2050649f313002 /core/src
parentd1a4856b5dbc2d9fc19d203c640a3c01a64a1fe8 (diff)
downloadnextcloud-server-31340b8be944fbf86237c10bff87b5ca3a2ffa8a.tar.gz
nextcloud-server-31340b8be944fbf86237c10bff87b5ca3a2ffa8a.zip
Add icon for resource type and icons for folder/file
Signed-off-by: Julius Härtl <jus@bitgrid.net>
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 54b580406ed..96a20bffc9c 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].typeIconClass || '';
},
getLabel(type) {
return t('files_sharing', 'Link to a {label}', { label: types[type].typeString || type }, 1)