mirror of
https://git.rwth-aachen.de/acs/public/villas/web/
synced 2025-03-09 00:00:01 +01:00
Fix plot table widget data checks
This commit is contained in:
parent
9d869daa0f
commit
14309aba06
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ class WidgetPlotTable extends Component {
|
|||
const simulator = this.props.simulationModel.simulator;
|
||||
let simulatorData = [];
|
||||
|
||||
if (this.props.data[simulator] != null) {
|
||||
if (this.props.data[simulator] != null && this.props.data[simulator].output != null && this.props.data[simulator].output.values != null) {
|
||||
simulatorData = this.props.data[simulator].output.values.filter((values, index) => (
|
||||
this.props.widget.signals.findIndex(value => value === index) !== -1
|
||||
));
|
||||
|
|
Loading…
Add table
Reference in a new issue