diff --git a/pages/dashboard/dashboard.go b/pages/dashboard/dashboard.go index 1b68a404..cdb780a3 100644 --- a/pages/dashboard/dashboard.go +++ b/pages/dashboard/dashboard.go @@ -46,6 +46,8 @@ func dashboard(ctx *aero.Context) string { return } + animeList = animeList.WatchingAndPlanned() + var keys []string for _, item := range animeList.Items { diff --git a/pages/embed/embed.go b/pages/embed/embed.go index 483c3430..7a3ffd57 100644 --- a/pages/embed/embed.go +++ b/pages/embed/embed.go @@ -4,7 +4,6 @@ import ( "net/http" "github.com/aerogo/aero" - "github.com/animenotifier/arn" "github.com/animenotifier/notify.moe/components" "github.com/animenotifier/notify.moe/utils" ) @@ -23,8 +22,8 @@ func Get(ctx *aero.Context) string { return ctx.Error(http.StatusNotFound, "Anime list not found", nil) } - animeList.Sort() - watchingList := animeList.SplitByStatus()[arn.AnimeListStatusWatching] + watchingList := animeList.WatchingAndPlanned() + watchingList.Sort() return utils.AllowEmbed(ctx, ctx.HTML(components.AnimeList(watchingList, animeList.User(), user))) }