Check inclusion in all releases in one go

This commit is contained in:
Claudio Ortolina
2025-01-02 12:40:27 +00:00
parent b9e3293877
commit d8a1ac7080
2 changed files with 5 additions and 3 deletions
@@ -151,8 +151,10 @@
<div <div
:if={ :if={
track.album.musicbrainz_id !== "" and track.album.musicbrainz_id !== "" and
!tracked_record?(@collected_releases, track.album.musicbrainz_id) and !tracked_record?(
!tracked_record?(@wishlisted_releases, track.album.musicbrainz_id) @collected_releases ++ @wishlisted_releases,
track.album.musicbrainz_id
)
} }
class="relative flex-none" class="relative flex-none"
> >
+1 -1
View File
@@ -342,7 +342,7 @@ msgid "Scrobble activity"
msgstr "" msgstr ""
#: lib/music_library_web/live/record_live/import_component.ex:80 #: lib/music_library_web/live/record_live/import_component.ex:80
#: lib/music_library_web/live/stats_live/index.html.heex:167 #: lib/music_library_web/live/stats_live/index.html.heex:169
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Choose which format to import" msgid "Choose which format to import"
msgstr "" msgstr ""