mirror of
https://github.com/nextcloud/server.git
synced 2026-06-13 18:50:47 -04:00
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
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue