From 020ce6d765bc277ee16af2d32f4822a2e0ed1124 Mon Sep 17 00:00:00 2001 From: Broque Thomas <26755000+Nezreka@users.noreply.github.com> Date: Sat, 18 Apr 2026 09:15:19 -0700 Subject: [PATCH] Hide discovery modal sync buttons in standalone mode "Sync This Playlist" buttons in YouTube/Tidal/Deezer/Spotify/Beatport/ ListenBrainz discovery modals were not gated by _isSoulsyncStandalone. Added check to the hasSpotifyMatches condition that generates them. --- webui/static/script.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/webui/static/script.js b/webui/static/script.js index a9090e85..84998221 100644 --- a/webui/static/script.js +++ b/webui/static/script.js @@ -33380,8 +33380,8 @@ function getModalActionButtons(urlHash, phase, state = null) { let buttons = ''; - // Only show sync button if there are Spotify matches - if (hasSpotifyMatches) { + // Only show sync button if there are Spotify matches (and not standalone mode) + if (hasSpotifyMatches && !_isSoulsyncStandalone) { if (isListenBrainz) { buttons += ``; } else if (isTidal) { @@ -33517,8 +33517,8 @@ function getModalActionButtons(urlHash, phase, state = null) { case 'sync_complete': let syncCompleteButtons = ''; - // Only show sync button if there are Spotify matches - if (hasSpotifyMatches) { + // Only show sync button if there are Spotify matches (and not standalone mode) + if (hasSpotifyMatches && !_isSoulsyncStandalone) { if (isListenBrainz) { syncCompleteButtons += ``; } else if (isTidal) {