diff --git a/LCU/Maintenance/MDB_WebView/maintenancedb_view/src/components/StationTestView.js b/LCU/Maintenance/MDB_WebView/maintenancedb_view/src/components/StationTestView.js index ccba6c44a62c6e2e15941c3fb392ee96215588b8..48fb8cc738c3f810b46a6ece8165cf03934b8c89 100644 --- a/LCU/Maintenance/MDB_WebView/maintenancedb_view/src/components/StationTestView.js +++ b/LCU/Maintenance/MDB_WebView/maintenancedb_view/src/components/StationTestView.js @@ -38,7 +38,7 @@ function antennaNumberFromRCUID(rcuID, componentType) { result.polarization = rcuID % 2 === 1 ? 'X' : 'Y' - result.id = Math.floor(rcuID / 2) + result.id = Math.floor(rcuID / 2) + 48 return result } else { return {id: rcuID} @@ -81,16 +81,19 @@ class GenericStatus extends Component { return cls; } - onMouseOver = () => { + onMouseOver = (e) => { + e.stopPropagation(); if (this.props.n_errors > 0) { this.props.onSelect(this.props.errors_per_polarization); } } - onMouseOut = () => { + onMouseOut = (e) => { + e.stopPropagation(); if (this.props.n_errors > 0) { this.props.onSelect(null); } + } // left-click with mouse