feat: remove checked

This commit is contained in:
TrèsAbhi committed 2025-10-15 18:14:20 -05:00
1 parent 50f82d68b4
commit 864d34f344
1 file changed
+4 -3
@@ -46,9 +46,10 @@ export function PlaylistActions() {
Playlist.mutate((draft) => { Playlist.mutate((draft) => {
draft.list = draft.list?.filter( draft.list = draft.list?.filter(
(entry) => (entry) =>
!entry.now || (!entry.now ||
!entry.then || !entry.then ||
entry.now.battles === entry.then.battles entry.now.battles === entry.then.battles) &&
!entry.checked
); );
}); });
}} }}