From ba4b3c556ee10e2be792570674f4533cc3482cb5 Mon Sep 17 00:00:00 2001 From: irismarie Date: Thu, 28 Jan 2021 19:30:19 +0100 Subject: [PATCH] changed add and impport buttons for tables --- src/scenario/scenario.js | 34 ++++++++++------------------------ src/scenario/scenarios.js | 12 ++++-------- 2 files changed, 14 insertions(+), 32 deletions(-) diff --git a/src/scenario/scenario.js b/src/scenario/scenario.js index 56bdd96..569e73c 100644 --- a/src/scenario/scenario.js +++ b/src/scenario/scenario.js @@ -775,7 +775,10 @@ class Scenario extends React.Component { {/*Component Configurations table*/} -

Component Configurations

+

Component Configurations + + +

this.onConfigChecked(index, event)} width='30' /> @@ -832,11 +835,6 @@ class Scenario extends React.Component { ]} /> -
- - -
-
{/*Dashboard table*/} -

Dashboards

+

Dashboards + + +

@@ -887,13 +888,6 @@ class Scenario extends React.Component { />
-
- - -
- -
- this.closeNewDashboardModal(data)} /> this.closeEditDashboardModal(data)} /> this.closeImportDashboardModal(data)} /> @@ -901,18 +895,10 @@ class Scenario extends React.Component { this.closeDeleteDashboardModal(e)} /> {/*Result table*/} -
-

Results +

Results -

- -
+ {resulttable} - {/* -
- -
- */} this.closeNewResultModal(data)} /> {/*Scenario Users table*/} diff --git a/src/scenario/scenarios.js b/src/scenario/scenarios.js index d176d0f..fb56da6 100644 --- a/src/scenario/scenarios.js +++ b/src/scenario/scenarios.js @@ -241,7 +241,10 @@ class Scenarios extends Component { return (
-

Scenarios

+

Scenarios + + +

@@ -260,13 +263,6 @@ class Scenarios extends Component { />
-
- - -
- -
- this.closeNewModal(data)} /> this.closeEditModal(data)} scenario={this.state.modalScenario} /> this.closeImportModal(data)} nodes={this.state.nodes} />