diff --git a/internal/anime/handler/handler.go b/internal/anime/handler/handler.go index b7ace83..378f5ff 100644 --- a/internal/anime/handler/handler.go +++ b/internal/anime/handler/handler.go @@ -292,7 +292,7 @@ func (h *AnimeHandler) HandleAnimeDetails(c *gin.Context) { user, _ := c.Get("User") status := "" var watchlistIDs []int64 - ep := 1 + ep := 0 var cwSeconds float64 if u, ok := user.(*domain.User); ok { entry, err := h.watchlistSvc.GetWatchListEntry(c.Request.Context(), u.ID, int64(id)) diff --git a/templates/components/watchlist_actions.gohtml b/templates/components/watchlist_actions.gohtml index eee0dce..082b246 100644 --- a/templates/components/watchlist_actions.gohtml +++ b/templates/components/watchlist_actions.gohtml @@ -48,8 +48,8 @@ - - {{if and .ContinueWatchingEp (ne .ContinueWatchingEp 1)}}Continue Episode {{.ContinueWatchingEp}}{{else}}Watch Now{{end}} + + {{if gt .ContinueWatchingEp 0}}Continue Watching Ep {{.ContinueWatchingEp}}{{else}}Watch Now{{end}} {{end}}