Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
johnjones4 committed Sep 9, 2021
1 parent f5e7448 commit 34330a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions dashboard/dashboard/computed_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ func makeDataSeries(bp float64) ([]DataSegment, float64) {
Altitude: altitude(bp, RawDataSegment{
Pressure: val * 100.0,
}),
SmoothedPressure: val,
},
}
}
Expand Down
2 changes: 1 addition & 1 deletion dashboard/dashboard/static/js/dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class Dashboard {
},
{
key: 'Last Event Age',
value: lastEventAge === null ? 'Never' : lastEventAge + 's',
value: lastEventAge === null ? 'Never' : (lastEventAge / 1000).toFixed(2) + 's',
normal: lastEventAge !== null && lastEventAge < signalTimeout
},
{
Expand Down

0 comments on commit 34330a2

Please sign in to comment.