Remove tooltip (fails for unknown reasons)
This commit is contained in:
@@ -34,26 +34,18 @@ defmodule MusicLibraryWeb.RecordComponents do
|
|||||||
|
|
||||||
def release_status_tooltip(assigns) do
|
def release_status_tooltip(assigns) do
|
||||||
~H"""
|
~H"""
|
||||||
<Fluxon.Components.Tooltip.tooltip
|
<.icon
|
||||||
:if={@record.selected_release_id}
|
:if={@record.selected_release_id}
|
||||||
value={gettext("Record has a selected release")}
|
name="hero-check-circle-solid"
|
||||||
>
|
class="inline-block size-4 text-green-500"
|
||||||
<.icon
|
title={gettext("Record has a selected release")}
|
||||||
name="hero-check-circle-solid"
|
/>
|
||||||
class="inline-block size-4 text-green-500"
|
<.icon
|
||||||
aria-hidden="true"
|
|
||||||
/>
|
|
||||||
</Fluxon.Components.Tooltip.tooltip>
|
|
||||||
<Fluxon.Components.Tooltip.tooltip
|
|
||||||
:if={!@record.selected_release_id}
|
:if={!@record.selected_release_id}
|
||||||
value={gettext("Record doesn't have a selected release")}
|
name="hero-question-mark-circle-solid"
|
||||||
>
|
class="inline-block size-4 text-yellow-500"
|
||||||
<.icon
|
title={gettext("Record doesn't have a selected release")}
|
||||||
name="hero-question-mark-circle-solid"
|
/>
|
||||||
class="inline-block size-4 text-yellow-500"
|
|
||||||
aria-hidden="true"
|
|
||||||
/>
|
|
||||||
</Fluxon.Components.Tooltip.tooltip>
|
|
||||||
"""
|
"""
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user