From e016836d3e353590eb9a78523d55d45df1d4dbbb Mon Sep 17 00:00:00 2001 From: Dmitry Lyzo Date: Tue, 10 Mar 2020 12:44:42 +0300 Subject: [PATCH] Fix library icons in WebOS 4 --- src/components/cardbuilder/cardBuilder.js | 2 +- src/components/homesections/homesections.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/cardbuilder/cardBuilder.js b/src/components/cardbuilder/cardBuilder.js index 3e54f91ee8..ab4f857485 100644 --- a/src/components/cardbuilder/cardBuilder.js +++ b/src/components/cardbuilder/cardBuilder.js @@ -1484,7 +1484,7 @@ define(['datetime', 'imageLoader', 'connectionManager', 'itemHelper', 'focusMana function getDefaultText(item, options) { if (item.CollectionType) { - return '' + imageHelper.getLibraryIcon(item.CollectionType) + '' + return '' } switch (item.Type) { diff --git a/src/components/homesections/homesections.js b/src/components/homesections/homesections.js index 430c06bc57..b024528549 100644 --- a/src/components/homesections/homesections.js +++ b/src/components/homesections/homesections.js @@ -183,7 +183,7 @@ define(['connectionManager', 'cardBuilder', 'appSettings', 'dom', 'apphost', 'la for (var i = 0, length = items.length; i < length; i++) { var item = items[i]; var icon = imageHelper.getLibraryIcon(item.CollectionType); - html += '' + icon + '' + item.Name + ''; + html += '' + item.Name + ''; } html += '';