X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FUI.git;a=blobdiff_plain;f=skyquake%2Fframework%2Fwidgets%2Ftopology%2FtopologyTree.jsx;h=9c77c13dca289f32d96b1aed48c602205707d873;hp=5e0d89504b360965b6df9b5954ed0235359955ff;hb=4ef8c40c2c013c21f5487330daeab2561ba25fb3;hpb=7f02fe01671d62e6c3c9a523cf0d21b251960365 diff --git a/skyquake/framework/widgets/topology/topologyTree.jsx b/skyquake/framework/widgets/topology/topologyTree.jsx index 5e0d89504..9c77c13dc 100644 --- a/skyquake/framework/widgets/topology/topologyTree.jsx +++ b/skyquake/framework/widgets/topology/topologyTree.jsx @@ -20,7 +20,7 @@ import React from 'react'; import ReactDOM from 'react-dom'; import d3 from 'd3'; import DashboardCard from '../dashboard_card/dashboard_card.jsx'; -import _ from 'lodash'; +import _cloneDeep from 'lodash/cloneDeep'; import $ from 'jquery'; import './topologyTree.scss'; @@ -66,7 +66,7 @@ export default class TopologyTree extends React.Component { //this.props.selectNode(props.data); } if(this.svg) { - this.update(_.cloneDeep(props.data)); + this.update(_cloneDeep(props.data)); // this.selectedID = props.data.id; } }