mirror of
https://git.rwth-aachen.de/acs/public/villas/web/
synced 2025-03-09 00:00:01 +01:00
delete unused function
This commit is contained in:
parent
564906cf25
commit
ed26cd16fd
1 changed files with 0 additions and 13 deletions
|
@ -117,19 +117,6 @@ class Scenarios extends Component {
|
|||
});
|
||||
};
|
||||
|
||||
showEditModal(id) {
|
||||
// get scenario by id
|
||||
var editScenario;
|
||||
|
||||
this.state.scenarios.forEach((scenario) => {
|
||||
if (scenario.id === id) {
|
||||
editScenario = scenario;
|
||||
}
|
||||
});
|
||||
|
||||
this.setState({ editModal: true, modalScenario: editScenario });
|
||||
}
|
||||
|
||||
closeEditModal(data) {
|
||||
this.setState({ editModal: false });
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue