diff --git a/api/watchlist/service.go b/api/watchlist/service.go index d5bb9d2..0704b64 100644 --- a/api/watchlist/service.go +++ b/api/watchlist/service.go @@ -24,9 +24,7 @@ var ( ) var validStatuses = map[string]struct{}{ - "watching": {}, "completed": {}, - "on_hold": {}, "dropped": {}, "plan_to_watch": {}, } diff --git a/web/components/watchlist/dropdown.templ b/web/components/watchlist/dropdown.templ index ef34433..e3ee600 100644 --- a/web/components/watchlist/dropdown.templ +++ b/web/components/watchlist/dropdown.templ @@ -35,9 +35,7 @@ templ WatchlistDropdown( data-dropdown-open-classes="visible opacity-100" data-dropdown-closed-classes="invisible opacity-0" > - @StatusOption(animeID, animeTitle, animeTitleEnglish, animeTitleJapanese, animeImage, "watching", currentStatus, airing) @StatusOption(animeID, animeTitle, animeTitleEnglish, animeTitleJapanese, animeImage, "completed", currentStatus, airing) - @StatusOption(animeID, animeTitle, animeTitleEnglish, animeTitleJapanese, animeImage, "on_hold", currentStatus, airing) @StatusOption(animeID, animeTitle, animeTitleEnglish, animeTitleJapanese, animeImage, "dropped", currentStatus, airing) @StatusOption(animeID, animeTitle, animeTitleEnglish, animeTitleJapanese, animeImage, "plan_to_watch", currentStatus, airing) if currentStatus != "" { @@ -89,12 +87,8 @@ templ StatusOption( func formatStatus(status string) string { switch status { - case "watching": - return "Watching" case "completed": return "Completed" - case "on_hold": - return "On hold" case "dropped": return "Dropped" case "plan_to_watch": diff --git a/web/templates/continue_watching.templ b/web/templates/continue_watching.templ index f60b531..07b5eee 100644 --- a/web/templates/continue_watching.templ +++ b/web/templates/continue_watching.templ @@ -29,7 +29,6 @@ templ ContinueWatching(entries []db.GetContinueWatchingEntriesRow) { Href: continueWatchingURL(entry), TitleEnglish: nullString(entry.TitleEnglish), TitleJapanese: nullString(entry.TitleJapanese), - WatchlistStatus: "watching", DisableWatchlist: true, Class: "notification-card min-w-0 flex flex-col bg-transparent text-inherit no-underline", HideTitle: true, diff --git a/web/templates/watchlist.templ b/web/templates/watchlist.templ index 11c707e..e540ef8 100644 --- a/web/templates/watchlist.templ +++ b/web/templates/watchlist.templ @@ -68,18 +68,6 @@ templ Watchlist( > All - - Watching - - - On hold -