From a390a992cce615d0875b9ea4ece24dbc22d0acdc Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Thu, 2 Apr 2026 13:21:51 +0100 Subject: [PATCH] Remove tooltip (fails for unknown reasons) --- .../components/record_components.ex | 28 +++++++------------ 1 file changed, 10 insertions(+), 18 deletions(-) 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