diff --git a/webui/static/pages-extra.js b/webui/static/pages-extra.js index d9a0a87b..c132875f 100644 --- a/webui/static/pages-extra.js +++ b/webui/static/pages-extra.js @@ -2876,8 +2876,10 @@ function _adlRenderBatchHistory() { youtube: '255, 0, 0', tidal: '0, 255, 255', deezer: '162, 73, 255', beatport: '148, 252, 19', listenbrainz: '255, 134, 0' }; - const dotColor = sourceColors[h.source] || sourceColors[h.source_page] || '255, 255, 255'; - const histDot = ``; + const dotSource = h.source || h.source_page || ''; + const dotColor = sourceColors[dotSource] || '255, 255, 255'; + const dotTip = dotSource ? `Source: ${dotSource}` : 'Unknown source'; + const histDot = ``; // Optional thumbnail const thumb = h.thumb_url