forked from ddrilling/asb_cloud_front
CF2-4: Исправлен параметр запрашиваемого интервала времени для графиков мониторинга
This commit is contained in:
parent
47262a8b8f
commit
02ca7edea1
@ -181,6 +181,13 @@ export default function TelemetryView(props) {
|
||||
}
|
||||
}, [id]);
|
||||
|
||||
useEffect(() => {
|
||||
if(chartInterval)
|
||||
DataService.getData(id, null, chartInterval)
|
||||
.then(handleReceiveDataSaub)
|
||||
.catch(error => console.error(error))
|
||||
}, [chartInterval]);
|
||||
|
||||
const colSpan = 24 / (paramsGroups.length)
|
||||
|
||||
return (<div>
|
||||
|
Loading…
Reference in New Issue
Block a user