fix per feedback: remove home recent-scans; admin dashboard recent-scans -> tag edit links + item column; inline tag edit gets photo upload; explicit deploy sync (no dir-rsync flakiness)
This commit is contained in:
@@ -29,12 +29,7 @@ func (a *App) Home(w http.ResponseWriter, r *http.Request) {
|
||||
http.Redirect(w, r, "/t/"+pid, http.StatusFound)
|
||||
return
|
||||
}
|
||||
recent, err := a.Queries.ListRecentScansWithTag(r.Context(), 8)
|
||||
if err != nil {
|
||||
// Non-fatal: home still renders without the recent list.
|
||||
recent = nil
|
||||
}
|
||||
a.render(w, r, "index", "Home", recent, "")
|
||||
a.render(w, r, "index", "Home", nil, "")
|
||||
}
|
||||
|
||||
// PublicTag renders the unauthenticated tag page: setup prompt, return details,
|
||||
|
||||
Reference in New Issue
Block a user