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 20ea9a2 commit a399f20Copy full SHA for a399f20
core/src/OC/dialogs.js
@@ -1236,7 +1236,12 @@ const Dialogs = {
1236
self.$filelist.empty();
1237
1238
$.each(files, function(idx, entry) {
1239
- entry.icon = OC.MimeType.getIconUrl(entry.mimetype)
+ if (entry.isEncrypted && entry.mimetype === 'httpd/unix-directory') {
1240
+ entry.icon = OC.MimeType.getIconUrl('dir-encrypted')
1241
+ } else {
1242
+ entry.icon = OC.MimeType.getIconUrl(entry.mimetype)
1243
+ }
1244
+
1245
var simpleSize, sizeColor
1246
if (typeof (entry.size) !== 'undefined' && entry.size >= 0) {
1247
simpleSize = OC.Util.humanFileSize(parseInt(entry.size, 10), true)
0 commit comments