fix: pass user to watchlist template
This commit is contained in:
@@ -138,6 +138,7 @@ func (h *Handler) HandleGetWatchlist(w http.ResponseWriter, r *http.Request) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
data := map[string]any{
|
data := map[string]any{
|
||||||
|
"User": user,
|
||||||
"CurrentPath": r.URL.Path,
|
"CurrentPath": r.URL.Path,
|
||||||
"WatchlistByStatus": watchlistByStatus,
|
"WatchlistByStatus": watchlistByStatus,
|
||||||
"AllEntries": allEntries,
|
"AllEntries": allEntries,
|
||||||
|
|||||||
Reference in New Issue
Block a user