summaryrefslogtreecommitdiffstats
path: root/src/app/tierSupport/selectedNodeDetails
diff options
context:
space:
mode:
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: ''
};