鏡像自
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:
父節點
60e4299bcb
當前提交
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 $) {
|
||||
|
載入中…
新增問題並參考
Block a user