diff --git a/lib/music_library_web/components/record_components.ex b/lib/music_library_web/components/record_components.ex index 81336454..372b4aa9 100644 --- a/lib/music_library_web/components/record_components.ex +++ b/lib/music_library_web/components/record_components.ex @@ -34,26 +34,18 @@ defmodule MusicLibraryWeb.RecordComponents do def release_status_tooltip(assigns) do ~H""" - - <.icon - name="hero-check-circle-solid" - class="inline-block size-4 text-green-500" - aria-hidden="true" - /> - - + <.icon :if={!@record.selected_release_id} - value={gettext("Record doesn't have a selected release")} - > - <.icon - name="hero-question-mark-circle-solid" - class="inline-block size-4 text-yellow-500" - aria-hidden="true" - /> - + name="hero-question-mark-circle-solid" + class="inline-block size-4 text-yellow-500" + title={gettext("Record doesn't have a selected release")} + /> """ end