Fix display of report type and status
This commit is contained in:
parent
fd86281a7e
commit
ee7d99bc4c
2 changed files with 3 additions and 3 deletions
|
|
@ -121,8 +121,8 @@ func contentFromNuisance(ctx context.Context, report_id string) (result ContentS
|
|||
result.Report.Address = nuisance.Address
|
||||
result.Report.Created = nuisance.Created
|
||||
result.Report.ImageCount = len(images)
|
||||
result.Report.Status = nuisance.Status.String()
|
||||
result.Report.Type = nuisance.Status.String()
|
||||
result.Report.Status = strings.Title(nuisance.Status.String())
|
||||
result.Report.Type = "Mosquito Nuisance"
|
||||
result.Report.Details = []DetailEntry{
|
||||
DetailEntry{
|
||||
Name: "Active early morning?",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue