Merge pull request #2620 from nextcloud/theming-externalfiles
Show theming icons on external storage folders
This commit is contained in:
commit
6cd421e603
1 changed files with 5 additions and 1 deletions
|
@ -539,7 +539,11 @@ OCA.External.StatusManager.Utils = {
|
|||
* of the tr matching the folder name
|
||||
*/
|
||||
getIconRoute: function (tr) {
|
||||
var icon = OC.imagePath('core', 'filetypes/folder-external');
|
||||
if (OCA.Theming) {
|
||||
var icon = OC.generateUrl('/apps/theming/img/core/filetypes/folder-external.svg?v=' + OCA.Theming.cacheBuster);
|
||||
} else {
|
||||
var icon = OC.imagePath('core', 'filetypes/folder-external');
|
||||
}
|
||||
var backend = null;
|
||||
|
||||
if (tr instanceof $) {
|
||||
|
|
Loading…
Reference in a new issue