From 56f3b2fc2fd9e09edf0b079b0b0eb18d63b5d448 Mon Sep 17 00:00:00 2001 From: Evan Jarrett Date: Wed, 6 May 2026 21:24:36 -0500 Subject: [PATCH] fix star not being filled on when you star a repo --- pkg/appview/handlers/api.go | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pkg/appview/handlers/api.go b/pkg/appview/handlers/api.go index 15c0fed..50d13b2 100644 --- a/pkg/appview/handlers/api.go +++ b/pkg/appview/handlers/api.go @@ -167,11 +167,12 @@ func (h *UnstarRepositoryHandler) ServeHTTP(w http.ResponseWriter, r *http.Reque // renderStarComponent renders the star component HTML for HTMX responses func renderStarComponent(w http.ResponseWriter, tmpl *template.Template, handle, repository string, isStarred bool, starCount int) { data := map[string]any{ - "Interactive": true, - "Handle": handle, - "Repository": repository, - "IsStarred": isStarred, - "StarCount": starCount, + "Interactive": true, + "IsAuthenticated": true, + "Handle": handle, + "Repository": repository, + "IsStarred": isStarred, + "StarCount": starCount, } var buf bytes.Buffer