Fix MusicBrainz tab not appearing in enhanced search

Source fetch list was hardcoded without musicbrainz — tabs only showed
for sources that were pre-fetched in the parallel search loop.
This commit is contained in:
Broque Thomas 2026-04-18 02:10:12 -07:00
parent 4f5025d526
commit 841ad42fdd

View file

@ -8698,7 +8698,7 @@ function initializeSearchModeToggle() {
// Fire ALL source fetches immediately in parallel with the primary endpoint.
// Don't guess which is primary — the main endpoint response will tell us.
// If an alternate duplicates the primary, it just overwrites with same data.
for (const srcName of ['spotify', 'itunes', 'deezer', 'discogs', 'hydrabase', 'youtube_videos']) {
for (const srcName of ['spotify', 'itunes', 'deezer', 'discogs', 'hydrabase', 'youtube_videos', 'musicbrainz']) {
_fetchAlternateSource(srcName, query);
}