spegling av
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:
förälder
60e4299bcb
incheckning
b12db1b494
@ -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 $) {
|
||||
|
Laddar…
Referens i nytt ärende
Block a user