From 7f79d5f30bb456df9802a626410a510455c54233 Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Tue, 11 Nov 2025 11:27:40 +0000 Subject: [PATCH] Disable medium scrobble button when tracks are selected --- lib/music_library_web/components/release.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/music_library_web/components/release.ex b/lib/music_library_web/components/release.ex index d6b8f1c2..8457901b 100644 --- a/lib/music_library_web/components/release.ex +++ b/lib/music_library_web/components/release.ex @@ -121,7 +121,7 @@ defmodule MusicLibraryWeb.Components.Release do <.button :if={@can_scrobble?} size="sm" - disabled={@already_scrobbled} + disabled={@already_scrobbled || MapSet.size(@selected_tracks) > 0} phx-click="scrobble_medium" phx-value-number={@medium.number} phx-target={@myself}