X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=skyquake%2Fplugins%2Flaunchpad%2Fsrc%2FtopologyL2View%2FdetailView.jsx;fp=skyquake%2Fplugins%2Flaunchpad%2Fsrc%2FtopologyL2View%2FdetailView.jsx;h=459f4af352d3286bd16b9332667deb656968cdc6;hb=4ef8c40c2c013c21f5487330daeab2561ba25fb3;hp=94366713c43492f4d02d866b4f91c9cf3468e929;hpb=7f02fe01671d62e6c3c9a523cf0d21b251960365;p=osm%2FUI.git 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 {