fix: rewatch on complete
Some checks are pending
Check / check (push) Waiting to run

This commit is contained in:
ThaUnknown 2025-06-15 12:17:25 +02:00
parent 48f87a25d5
commit 9f414cd7d3
No known key found for this signature in database
3 changed files with 3 additions and 5 deletions

View file

@ -40,7 +40,7 @@ It is meant to feel look, work and perform like a premium streaming service, but
## 🏆 Features
### **Anime**
### 🎞️ Anime Management
* Effortlessly manage your anime list with support for AniList, Kitsu, ~~MAL~~, and local storage.
* Automatically track watched episodes.

View file

@ -1,6 +1,6 @@
{
"name": "ui",
"version": "6.3.56",
"version": "6.3.57",
"license": "BUSL-1.1",
"private": true,
"packageManager": "pnpm@9.14.4",

View file

@ -118,11 +118,9 @@ export default new class AuthAggregator {
? 'COMPLETED'
: media.mediaListEntry?.status === 'REPEATING' ? 'REPEATING' : 'CURRENT'
const repeat = (media.mediaListEntry?.repeat ?? 0) + (totalEps === progress ? 1 : 0)
const lists = (media.mediaListEntry?.customLists as Array<{enabled: boolean, name: string}> | undefined)?.filter(({ enabled }) => enabled).map(({ name }) => name) ?? []
this.entry({ id: media.id, progress, repeat, status, lists })
this.entry({ id: media.id, progress, status, lists })
}
delete (media: Media) {