summaryrefslogtreecommitdiffstats
path: root/apps/files/js/filelist.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/js/filelist.js')
-rw-r--r--apps/files/js/filelist.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js
index 217a2f14896..0add41d6419 100644
--- a/apps/files/js/filelist.js
+++ b/apps/files/js/filelist.js
@@ -1156,7 +1156,10 @@
if (type === 'dir') {
mime = mime || 'httpd/unix-directory';
- if (fileData.mountType && fileData.mountType.indexOf('external') === 0) {
+ if (fileData.isEncrypted) {
+ icon = OC.MimeType.getIconUrl('dir-encrypted');
+ dataIcon = icon;
+ } else if (fileData.mountType && fileData.mountType.indexOf('external') === 0) {
icon = OC.MimeType.getIconUrl('dir-external');
dataIcon = icon;
}