Skip to content

Commit

Permalink
Merge pull request #30188 from nextcloud/backport/30164/stable22
Browse files Browse the repository at this point in the history
[stable22] Use correct icon for dir-external-root
  • Loading branch information
PVince81 authored Dec 10, 2021
2 parents 7936aec + fdf8cd1 commit f79f930
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/js/mimetype.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ OC.MimeType = {
return 'folder-shared';
} else if (mimeType === 'dir-public' && $.inArray('folder-public', files) !== -1) {
return 'folder-public';
} else if (mimeType === 'dir-external' && $.inArray('folder-external', files) !== -1) {
} else if ((mimeType === 'dir-external' || mimeType === 'dir-external-root') && $.inArray('folder-external', files) !== -1) {
return 'folder-external';
} else if ($.inArray(icon, files) !== -1) {
return icon;
Expand Down

0 comments on commit f79f930

Please sign in to comment.