Skip to content
Snippets Groups Projects
Commit f5e4fed8 authored by Mattia Mancini's avatar Mattia Mancini
Browse files

OSB-31: Fixing tile number for the LBL

parent 7fc2e558
No related branches found
No related tags found
2 merge requests!89Monitoring maintenance Epic branch merge,!1Resolve OSB-13 "Monitoringmaintenance "
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment