Update to Fluxon 2.0
Address required changes and immediate deprecations
This commit is contained in:
@@ -290,12 +290,12 @@ defmodule MusicLibraryWeb.BarcodeScannerComponent do
|
||||
{gettext("New")}
|
||||
</.badge>
|
||||
<.link :if={@status == :wishlisted} navigate={~p"/wishlist/#{@record_id}"}>
|
||||
<.badge color="yellow">
|
||||
<.badge color="warning">
|
||||
{gettext("Wishlisted")}
|
||||
</.badge>
|
||||
</.link>
|
||||
<.link :if={@status == :collected} navigate={~p"/collection/#{@record_id}"}>
|
||||
<.badge color="green">
|
||||
<.badge color="success">
|
||||
{gettext("Collected")}
|
||||
</.badge>
|
||||
</.link>
|
||||
|
||||
@@ -52,7 +52,7 @@ defmodule MusicLibraryWeb.ReleaseComponent do
|
||||
>
|
||||
{gettext("Scrobble release")}
|
||||
</.button>
|
||||
<.button :if={!@can_scrobble?} as="link" size="sm" href={LastFm.auth_url()}>
|
||||
<.button :if={!@can_scrobble?} size="sm" href={LastFm.auth_url()}>
|
||||
{gettext("Connect your Last.fm account")}
|
||||
</.button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user