mirror of
https://github.com/nextcloud/server.git
synced 2024-08-10 14:11:53 +02:00
Show theming icons on external storage folders
Signed-off-by: Julius Haertl <jus@bitgrid.net>
This commit is contained in:
parent
60e4299bcb
commit
b12db1b494
@ -539,7 +539,11 @@ OCA.External.StatusManager.Utils = {
|
|||||||
* of the tr matching the folder name
|
* of the tr matching the folder name
|
||||||
*/
|
*/
|
||||||
getIconRoute: function (tr) {
|
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;
|
var backend = null;
|
||||||
|
|
||||||
if (tr instanceof $) {
|
if (tr instanceof $) {
|
||||||
|
Loading…
Reference in New Issue
Block a user