diff --git a/LCU/Maintenance/MDB_WebView/maintenancedb_view/src/components/StationStatistics.js b/LCU/Maintenance/MDB_WebView/maintenancedb_view/src/components/StationStatistics.js index 873627f3c93cadcdb11436030905f933ec31cb28..c982a0bdb068d66855a05988acdc025b4590d7dc 100644 --- a/LCU/Maintenance/MDB_WebView/maintenancedb_view/src/components/StationStatistics.js +++ b/LCU/Maintenance/MDB_WebView/maintenancedb_view/src/components/StationStatistics.js @@ -195,7 +195,8 @@ class StationStatisticsC extends Component { <Navbar className="react-grid-item-header justify-content-between" style={{ - padding: "0" + padding: "0", + zIndex: 1000 }}> <NavbarBrand style={{ padding: "0" @@ -206,7 +207,7 @@ class StationStatisticsC extends Component { <ToolBar style={{ padding: "0" }} - histogramType={this.state.histogramType} + histogramType={this.state.histogramType} switchHistogramEvent={this.onSwitchHistogramType}/> </Navbar> <div className="react-grid-item-body" id="plot" ref={this.ref}> 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 b54f30b0b989c256eae96a511fa701f77f8758e6..3d128476f189c1b2cb80937d5a3a4e134327c4ec 100644 --- a/LCU/Maintenance/MDB_WebView/maintenancedb_view/src/components/StationTestView.js +++ b/LCU/Maintenance/MDB_WebView/maintenancedb_view/src/components/StationTestView.js @@ -2,7 +2,7 @@ import React, { Component } from 'react'; import {connect} from "react-redux"; -import {setChildPanelData} from '../redux/actions/stationOverviewPageActions' +import {setChildPanelData, unpinChildPanelData} from '../redux/actions/stationOverviewPageActions' import { Table, @@ -219,7 +219,8 @@ class RTSMSummaryLine extends Component { renderTestSummaryLine(data, component_id_list){ const result = component_id_list.map((item, key) => { if(data[item] > 0){ - return (<td key={key} className={'stv-rtsm-summary-badge'}>{data[item].toFixed(0) + '%'} </td> ); + let perc = Math.ceil(data[item]); + return (<td key={key} className={'stv-rtsm-summary-badge'}>{perc + '%'} </td> ); }else{ return <td></td>; }