The external directories should get the correct icon

This commit is contained in:
Roeland Jago Douma 2015-07-17 14:30:12 +02:00
parent dce462c28d
commit b0f21c0a43
1 changed files with 4 additions and 0 deletions

View File

@ -685,6 +685,10 @@
if (type === 'dir') {
mime = mime || 'httpd/unix-directory';
if (fileData.mountType && fileData.mountType.indexOf('external') === 0) {
icon = OC.MimeType.getIconUrl('dir-external');
}
}
//containing tr