Fix loading issue on map.

This commit is contained in:
Paulo Gustavo Veiga 2022-04-09 23:38:37 -03:00
parent b1f6507a77
commit eb79dab117
2 changed files with 7 additions and 1 deletions

View File

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -37,7 +37,13 @@ class ImageIcon extends Icon {
$assert(topic, 'topic can not be null'); $assert(topic, 'topic can not be null');
// Build graph image representation ... // Build graph image representation ...
const iconType = iconModel.getIconType(); let iconType = iconModel.getIconType();
// Hack for overwrite wrong icon. Remove in couple of months ...
if (iconType === 'meeetapps_facebook-messenger') {
iconType = 'meetapps_facebook-messenger';
}
const imgUrl = ImageIcon.getImageUrl(iconType); const imgUrl = ImageIcon.getImageUrl(iconType);
super(imgUrl); super(imgUrl);