summaryrefslogtreecommitdiffstats
path: root/ui-react/src/LoopUI.js
diff options
context:
space:
mode:
authordrveerendra <vrajasekharaiah@att.com>2019-10-31 12:45:30 -0400
committersebdet <sebastien.determe@intl.att.com>2019-11-04 18:28:24 +0100
commitf6b2625c5876c5ef1b8ead0b3962362fb2924f95 (patch)
treea4f365ded51ffc265b226560d20bc81d9dd28573 /ui-react/src/LoopUI.js
parent2901ca9fec4a88db325b90bda2103ffc5e921681 (diff)
Adding viewToscamodels menu
Updated package.json file to include material table and material UI react libraries. Added ViewToscalModals folder which contains js file, corresponding test file and its snapshots Issue-ID: CLAMP-544 Change-Id: I6b9328d6270fc32b41a152c91a9fd872f3524beb Signed-off-by: drveerendra <vrajasekharaiah@att.com>
Diffstat (limited to 'ui-react/src/LoopUI.js')
-rw-r--r--ui-react/src/LoopUI.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui-react/src/LoopUI.js b/ui-react/src/LoopUI.js
index ff3c4445a..11808da38 100644
--- a/ui-react/src/LoopUI.js
+++ b/ui-react/src/LoopUI.js
@@ -42,6 +42,7 @@ import ConfigurationPolicyModal from './components/dialogs/ConfigurationPolicy/C
import LoopProperties from './components/dialogs/LoopProperties';
import UserInfo from './components/dialogs/UserInfo';
import LoopService from './api/LoopService';
+import ViewToscaModals from './components/dialogs/ViewToscaModals/ViewToscaModals';
import PerformAction from './components/dialogs/PerformActions';
import RefreshStatus from './components/dialogs/RefreshStatus';
import DeployLoop from './components/dialogs/DeployLoop';
@@ -247,6 +248,7 @@ export default class LoopUI extends React.Component {
render() {
return (
<StyledMainDiv id="main_div">
+ <Route path="/viewToscaModals" render={(routeProps) => (<ViewToscaModals {...routeProps} />)} />
<Route path="/operationalPolicyModal"
render={(routeProps) => (<OperationalPolicyModal {...routeProps} loopCache={this.getLoopCache()} loadLoopFunction={this.loadLoop} showAlert={this.showAlert}/>)} />
<Route path="/configurationPolicyModal/:componentName" render={(routeProps) => (<ConfigurationPolicyModal {...routeProps} loopCache={this.getLoopCache()} loadLoopFunction={this.loadLoop}/>)} />