mirror of
https://git.rwth-aachen.de/acs/public/villas/web/
synced 2025-03-16 00:00:03 +01:00
cleanup
This commit is contained in:
parent
bc089fdc89
commit
dfc538113f
1 changed files with 3 additions and 1 deletions
|
@ -67,7 +67,7 @@ class ImportDashboardDialog extends React.Component {
|
|||
// read IC
|
||||
const dashboard = JSON.parse(event.target.result);
|
||||
|
||||
let defaultIC = "";
|
||||
/*let defaultIC = "";
|
||||
if (self.props.simulation.models != null) {
|
||||
defaultIC = self.props.simulation.models[0].icID;
|
||||
}
|
||||
|
@ -86,6 +86,8 @@ class ImportDashboardDialog extends React.Component {
|
|||
}
|
||||
});
|
||||
|
||||
*/
|
||||
|
||||
self.imported = true;
|
||||
self.valid = true;
|
||||
self.setState({ name: dashboard.name, widgets: dashboard.widgets, grid: dashboard.grid });
|
||||
|
|
Loading…
Add table
Reference in a new issue