Merge pull request #17706 from rullzer/external_diricon_filelist
The external directories should get the correct icon in filelist
This commit is contained in:
commit
37d085901b
|
@ -685,6 +685,10 @@
|
||||||
|
|
||||||
if (type === 'dir') {
|
if (type === 'dir') {
|
||||||
mime = mime || 'httpd/unix-directory';
|
mime = mime || 'httpd/unix-directory';
|
||||||
|
|
||||||
|
if (fileData.mountType && fileData.mountType.indexOf('external') === 0) {
|
||||||
|
icon = OC.MimeType.getIconUrl('dir-external');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//containing tr
|
//containing tr
|
||||||
|
|
Loading…
Reference in New Issue