diff --git a/src/pages/TelemetryView.jsx b/src/pages/TelemetryView.jsx index 5e6e321..a91d627 100644 --- a/src/pages/TelemetryView.jsx +++ b/src/pages/TelemetryView.jsx @@ -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 (