summaryrefslogtreecommitdiffstats
path: root/src/app/tierSupport/selectedNodeDetails
diff options
context:
space:
mode:
authorArul <arul.nambi@amdocs.com>2018-01-15 11:04:25 -0500
committerArul <arul.nambi@amdocs.com>2018-01-15 11:09:58 -0500
commita38f3d6bb17a478d08016e49d6c2a667ac483d4a (patch)
treee125fd7d7b194fd3a902e34deb86bc7b8bf7b50f /src/app/tierSupport/selectedNodeDetails
parent9c0205dc5bfdac8931a4d8797240a4787d6af2dc (diff)
Introduction of external URLs
Introduce external URLs to get AAI UI to show a specific graph Change-Id: Ibc10dab32540f2c8347df1be535e48b88308b9ec Signed-off-by: Arul <arul.nambi@amdocs.com> Issue-ID: AAI-626
Diffstat (limited to 'src/app/tierSupport/selectedNodeDetails')
-rw-r--r--src/app/tierSupport/selectedNodeDetails/SelectedNodeDetails.jsx4
-rw-r--r--src/app/tierSupport/selectedNodeDetails/SelectedNodeDetailsReducer.js4
2 files changed, 5 insertions, 3 deletions
diff --git a/src/app/tierSupport/selectedNodeDetails/SelectedNodeDetails.jsx b/src/app/tierSupport/selectedNodeDetails/SelectedNodeDetails.jsx
index 5ff4104..1dbd71b 100644
--- a/src/app/tierSupport/selectedNodeDetails/SelectedNodeDetails.jsx
+++ b/src/app/tierSupport/selectedNodeDetails/SelectedNodeDetails.jsx
@@ -20,9 +20,11 @@
*
* ECOMP is a trademark and service mark of AT&T Intellectual Property.
*/
+
import {connect} from 'react-redux';
import React, {Component} from 'react';
import Table from 'react-bootstrap/lib/Table';
+import LaunchInContext from 'app/tierSupport/launchExternalResource/LaunchExternalResource.jsx';
import i18n from 'utils/i18n/i18n';
import {
SELECTED_NODE_TITLE,
@@ -82,7 +84,7 @@ class SelectedNodeDetails extends Component {
<div className='ts-selected-node-details'>
<h1>{i18n(SELECTED_NODE_TITLE)}</h1>
<h2>{nodeType}</h2>
- <span>{uid}</span>
+ <span>{uid} <LaunchInContext /></span>
<Table bsClass={tableClass}>
<thead>
<tr>
diff --git a/src/app/tierSupport/selectedNodeDetails/SelectedNodeDetailsReducer.js b/src/app/tierSupport/selectedNodeDetails/SelectedNodeDetailsReducer.js
index d088e73..17eaed1 100644
--- a/src/app/tierSupport/selectedNodeDetails/SelectedNodeDetailsReducer.js
+++ b/src/app/tierSupport/selectedNodeDetails/SelectedNodeDetailsReducer.js
@@ -40,7 +40,7 @@ export default (state = {}, action) => {
}
return {
...state,
- nodeData: [],
+ nodeData: {},
nodeType: '',
uid: ''
};
@@ -60,7 +60,7 @@ export default (state = {}, action) => {
case tierSupportActionTypes.TS_NODE_SEARCH_NO_RESULTS:
return {
...state,
- nodeData: [],
+ nodeData: {},
nodeType: '',
uid: ''
};