We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8145cd commit 868bc42Copy full SHA for 868bc42
apps/files_sharing/api/local.php
@@ -69,7 +69,6 @@ public static function getAllShares($params) {
69
if (\OC::$server->getPreviewManager()->isMimeSupported($share['mimetype'])) {
70
$share['isPreviewAvailable'] = true;
71
}
72
- $share['icon'] = substr(\OC_Helper::mimetypeIcon($share['mimetype']), 0, -3) . 'svg';
73
74
75
if (!is_null($share['token'])) {
apps/files_sharing/js/sharedfilelist.js
@@ -176,7 +176,7 @@
176
.map(function(share) {
177
var file = {
178
id: share.file_source,
179
- icon: share.icon,
+ icon: OC.MimeType.getIconUrl(share.mimetype),
180
mimetype: share.mimetype
181
};
182
if (share.item_type === 'folder') {
0 commit comments