summaryrefslogtreecommitdiffstats
path: root/openecomp-ui
diff options
context:
space:
mode:
authorStanislav Vishnevetsky <shlomo-stanisla.vishnevetskiy@amdocs.com>2017-08-27 16:09:23 +0300
committerstanvishne <shlomo-stanisla.vishnevetskiy@amdocs.com>2017-08-28 14:04:19 +0300
commitf5355ef234a409ab4fcfe299f7ee9f33e904355b (patch)
treee41ae6774c47418a7b1e54ac34cc79c798ccad0c /openecomp-ui
parenta6ae9aca9c238149bd38f8f1e637c366e432a700 (diff)
Update D3 version in dox-sequence-diagram-ui
Issue-ID: SDC-252 Change-Id: I3a576e50370d7c7b8d7d49dd4adacc3a90d7a027 Signed-off-by: Stanislav Vishnevetsky <shlomo-stanisla.vishnevetskiy@amdocs.com>
Diffstat (limited to 'openecomp-ui')
-rw-r--r--openecomp-ui/package.json2
-rw-r--r--openecomp-ui/src/sdc-app/onboarding/softwareProduct/components/SoftwareProductComponentsListView.jsx5
2 files changed, 3 insertions, 4 deletions
diff --git a/openecomp-ui/package.json b/openecomp-ui/package.json
index f18dd75329..5f7c76d8fc 100644
--- a/openecomp-ui/package.json
+++ b/openecomp-ui/package.json
@@ -21,7 +21,7 @@
"dependencies": {
"classnames": "^2.2.5",
"core-js": "^2.4.0",
- "d3": "^3.5.16",
+ "d3": "^4.10.0",
"dox-sequence-diagram-ui": "file:../dox-sequence-diagram-ui",
"intl": "^1.0.1",
"intl-format-cache": "^2.0.5",
diff --git a/openecomp-ui/src/sdc-app/onboarding/softwareProduct/components/SoftwareProductComponentsListView.jsx b/openecomp-ui/src/sdc-app/onboarding/softwareProduct/components/SoftwareProductComponentsListView.jsx
index a2a1964299..88a01becfc 100644
--- a/openecomp-ui/src/sdc-app/onboarding/softwareProduct/components/SoftwareProductComponentsListView.jsx
+++ b/openecomp-ui/src/sdc-app/onboarding/softwareProduct/components/SoftwareProductComponentsListView.jsx
@@ -70,12 +70,11 @@ class SoftwareProductComponentsListView extends React.Component {
renderComponentsListItem(component) {
let {id: componentId, name, displayName, description = ''} = component;
- let {currentSoftwareProduct: {id, version}, onComponentSelect, isManual, isReadOnlyMode, onDeleteComponent} = this.props;
+ let {currentSoftwareProduct: {id, version}, onComponentSelect} = this.props;
return (
<ListEditorItemView
key={name + Math.floor(Math.random() * (100 - 1) + 1).toString()}
- className='list-editor-item-view'
- onDelete={isManual && !isReadOnlyMode ? () => onDeleteComponent(component, id, version) : false}
+ className='list-editor-item-view'
onSelect={() => onComponentSelect({id, componentId, version})}>
<ListEditorItemViewField>
<div className='name'>{displayName}</div>