Skip to content

Commit

Permalink
Fix bug where total state change was always zero (#343)
Browse files Browse the repository at this point in the history
Fixes issue with the event details view where the total state change was field
was incorrectly referenced, resulting in the value always appearing as if it
were zero.

Signed-off-by: James Phillips <jamesdphillips@gmail.com>
  • Loading branch information
jamesdphillips committed Nov 20, 2020
1 parent c0890b2 commit 1c78670
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ class EventDetailsCheckSummary extends React.PureComponent {
<DictionaryEntry>
<DictionaryKey>Total State Change</DictionaryKey>
<DictionaryValue>
{entity.totalStateChange || 0}
{check.totalStateChange || 0}
{"%"}
</DictionaryValue>
</DictionaryEntry>
Expand Down

0 comments on commit 1c78670

Please sign in to comment.