mirror of
https://git.rwth-aachen.de/acs/public/villas/web/
synced 2025-03-09 00:00:01 +01:00
add more values to state
This commit is contained in:
parent
fdb6a3105a
commit
06b091a73b
1 changed files with 2 additions and 1 deletions
|
@ -32,6 +32,7 @@ class ImportScenarioDialog extends React.Component {
|
|||
name: '',
|
||||
running: '',
|
||||
configs: [],
|
||||
dashboards: [],
|
||||
startParameters: {}
|
||||
};
|
||||
}
|
||||
|
@ -94,7 +95,7 @@ class ImportScenarioDialog extends React.Component {
|
|||
|
||||
self.imported = true;
|
||||
self.valid = true;
|
||||
self.setState({ name: scenario.name, configs: scenario.configs, startParameters: scenario.startParameters, running: scenario.running });
|
||||
self.setState({ name: scenario.name, configs: scenario.configs, dashboards: scenario.dashboards, startParameters: scenario.startParameters, running: scenario.running });
|
||||
};
|
||||
|
||||
reader.readAsText(file);
|
||||
|
|
Loading…
Add table
Reference in a new issue