X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FUI.git;a=blobdiff_plain;f=skyquake%2Fplugins%2Flaunchpad%2Fsrc%2FtopologyL2View%2FdetailView.jsx;h=459f4af352d3286bd16b9332667deb656968cdc6;hp=94366713c43492f4d02d866b4f91c9cf3468e929;hb=223366ccc6537984552d07f827750e14e83219b8;hpb=132f9b77e1c32b82eb1c27cea048a5c1f2bfcb56 diff --git a/skyquake/plugins/launchpad/src/topologyL2View/detailView.jsx b/skyquake/plugins/launchpad/src/topologyL2View/detailView.jsx index 94366713c..459f4af35 100644 --- a/skyquake/plugins/launchpad/src/topologyL2View/detailView.jsx +++ b/skyquake/plugins/launchpad/src/topologyL2View/detailView.jsx @@ -20,7 +20,7 @@ import LoadingIndicator from 'widgets/loading-indicator/loadingIndicator.jsx'; import DashboardCard from 'widgets/dashboard_card/dashboard_card.jsx'; import Listy from 'widgets/listy/listy.js'; -import _ from 'underscore'; +import _isEmpty from 'lodash/isEmpty'; export default class TopologyDetail extends React.Component { constructor(props) { @@ -28,7 +28,7 @@ export default class TopologyDetail extends React.Component { } detailData(data) { - if (_.isEmpty(data)) { + if (_isEmpty(data)) { return {}; } else { return {