Skip to content

Commit

Permalink
updated participantdetailview to show uvi
Browse files Browse the repository at this point in the history
  • Loading branch information
Nik Sauer committed Jan 29, 2025
1 parent 8db3b6b commit 23dccf4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/campaign/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,8 +340,8 @@ def get_current_mean(dimension):
temperature_color = Dimension.get_color(Dimension.TEMPERATURE, current_temperature) if current_temperature else None

# VOC Index
current_uvi = get_current_mean(Dimension.UVS)
uvi_color = Dimension.get_color(Dimension.UVS, current_uvi) if current_uvi else None
current_uvi = get_current_mean(Dimension.UVI)
uvi_color = Dimension.get_color(Dimension.UVI, current_uvi) if current_uvi else None


# dimensions to be displayed
Expand Down

0 comments on commit 23dccf4

Please sign in to comment.