X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=skyquake%2Fplugins%2Flaunchpad%2Fsrc%2Fvirtual_links%2FnsVirtualLinkCreate.jsx;h=bec414eb1523a916786113c53e0db82f3d0bda30;hb=2da8b7a246ba17396c5bc218a0b7f1685fb8d304;hp=d3dc011f101e4014a003419a25cfaf986fefdb63;hpb=73b4ff94fca62a769a0bc13971a05cd18e177b33;p=osm%2FUI.git diff --git a/skyquake/plugins/launchpad/src/virtual_links/nsVirtualLinkCreate.jsx b/skyquake/plugins/launchpad/src/virtual_links/nsVirtualLinkCreate.jsx index d3dc011f1..bec414eb1 100644 --- a/skyquake/plugins/launchpad/src/virtual_links/nsVirtualLinkCreate.jsx +++ b/skyquake/plugins/launchpad/src/virtual_links/nsVirtualLinkCreate.jsx @@ -17,7 +17,6 @@ */ import React from 'react'; import Utils from 'utils/utils.js'; -import _ from 'lodash'; import './nsVirtualLinks.scss'; import NSVirtualLinkCreateStore from './nsVirtualLinkCreateStore.js'; import SkyquakeComponent from 'widgets/skyquake_container/skyquakeComponent.jsx'; @@ -31,7 +30,8 @@ import SelectOption from 'widgets/form_controls/selectOption.jsx'; class NsVirtualLinkCreate extends React.Component { constructor(props) { super(props); - this.Store = this.props.flux.stores.hasOwnProperty('NSVirtualLinkCreateStore') ? this.props.flux.stores.NSVirtualLinkCreateStore : this.props.flux.createStore(NSVirtualLinkCreateStore); + this.Store = this.props.flux.stores.hasOwnProperty('NSVirtualLinkCreateStore') ? + this.props.flux.stores.NSVirtualLinkCreateStore : this.props.flux.createStore(NSVirtualLinkCreateStore, 'NSVirtualLinkCreateStore'); this.state = this.Store.getState(); this.Store.listen(this.handleUpdate); }