Fix bug for histogram only query

This commit is contained in:
Jan Eitzinger 2023-06-09 16:03:06 +02:00
parent f70c88d6b3
commit a88a97f1b8

View File

@ -274,6 +274,8 @@ func (r *queryResolver) JobsStatistics(ctx context.Context, filter []*model.JobF
}
} else {
stats = make([]*model.JobsStatistics, 0, 1)
stats = append(stats,
&model.JobsStatistics{})
}
if groupBy != nil {