Skip to content

Commit

Permalink
dashboard/app: fix period type absence
Browse files Browse the repository at this point in the history
  • Loading branch information
tarasmadan committed Oct 1, 2024
1 parent c2a38e1 commit 2951746
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dashboard/app/graphs.go
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,9 @@ func handleHeatmap(c context.Context, w http.ResponseWriter, r *http.Request, f
return err
}
periods := coveragedb.GenNPeriodsTill(12, civil.DateOf(time.Now()), pOps)
for _, p := range periods {
p.Type = periodType
}
var style template.CSS
var body, js template.HTML
if style, body, js, err = f(c, "syzkaller", hdr.Namespace, ss, periods); err != nil {
Expand Down

0 comments on commit 2951746

Please sign in to comment.