Skip to content

Commit

Permalink
Merge pull request #233 from MissouriMRDT/enhancement/manifest-update
Browse files Browse the repository at this point in the history
Fix RON crash
  • Loading branch information
ThisIsBrady authored Feb 8, 2023
2 parents 64fd1e8 + 7417fc6 commit 6edd080
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/RON/components/PingMap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -214,10 +214,10 @@ class PingMap extends Component<IProps, IState> {
context.fillText(board, coords.x, coords.y + 17);
}
context.beginPath();
context.fillStyle =
this.props.devices.GrandStream.ping === -1
? 'white'
: ColorConverter(this.props.devices.GrandStream.ping, min, cutoff, max, greenHue, redHue);
context.fillStyle = 'white';
// this.props.devices.GrandStream.ping === -1
// ? 'white'
// : ColorConverter(this.props.devices.GrandStream.ping, min, cutoff, max, greenHue, redHue);
context.rect(centerW - 20, 380, 40, 40);
context.stroke();
context.fill();
Expand Down

0 comments on commit 6edd080

Please sign in to comment.