Show theming icons on external storage folders

Signed-off-by: Julius Haertl <jus@bitgrid.net>
This commit is contained in:
Julius Haertl 2016-12-09 12:50:14 +01:00
parent 60e4299bcb
commit b12db1b494
No known key found for this signature in database
GPG Key ID: 4C614C6ED2CDE6DF
1 changed files with 5 additions and 1 deletions

View File

@ -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 $) {