X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FUI.git;a=blobdiff_plain;f=skyquake%2Fplugins%2Flaunchpad%2Fsrc%2Fssh_keys%2FsshKeys.jsx;h=3d4179eedb70e51bc7721b2d460304b1ad3110d9;hp=f832215ad3311be48538ac9bfda7087dc02a3495;hb=efcca9816240e4cd87e524776885551ed534aa9d;hpb=7ddd5bf53da449cd7943e0e328f93c2bbeeabd2c diff --git a/skyquake/plugins/launchpad/src/ssh_keys/sshKeys.jsx b/skyquake/plugins/launchpad/src/ssh_keys/sshKeys.jsx index f832215ad..3d4179eed 100644 --- a/skyquake/plugins/launchpad/src/ssh_keys/sshKeys.jsx +++ b/skyquake/plugins/launchpad/src/ssh_keys/sshKeys.jsx @@ -27,7 +27,7 @@ import '../../node_modules/open-iconic/font/css/open-iconic.css'; class SshKeys extends Component { constructor(props) { super(props); - this.Store = this.props.flux.stores.hasOwnProperty('SshKeyStore') ? this.props.flux.stores.SshKeyStore : this.props.flux.createStore(SshKeyStore); + this.Store = this.props.flux.stores.hasOwnProperty('SshKeyStore') ? this.props.flux.stores.SshKeyStore : this.props.flux.createStore(SshKeyStore, 'SshKeyStore'); this.state = this.Store.getState(); this.Store.listen(this.handleUpdate); }