X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=skyquake%2Fplugins%2Flaunchpad%2Fsrc%2Fssh_keys%2FsshKeys.jsx;h=3d4179eedb70e51bc7721b2d460304b1ad3110d9;hb=ab68734c52fb6d413e8241466c4517bd7af2477f;hp=1676cff9143b86d1d33bdcde97b7eb7d6cc15624;hpb=e29efc315df33d546237e270470916e26df391d6;p=osm%2FUI.git diff --git a/skyquake/plugins/launchpad/src/ssh_keys/sshKeys.jsx b/skyquake/plugins/launchpad/src/ssh_keys/sshKeys.jsx index 1676cff91..3d4179eed 100644 --- a/skyquake/plugins/launchpad/src/ssh_keys/sshKeys.jsx +++ b/skyquake/plugins/launchpad/src/ssh_keys/sshKeys.jsx @@ -1,5 +1,5 @@ /* - * + * * Copyright 2016 RIFT.IO Inc * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -21,13 +21,13 @@ import SshKeyCard from './sshKeyCard.jsx'; import SshKeyStore from './sshKeyStore.js'; import SkyquakeComponent from 'widgets/skyquake_container/skyquakeComponent.jsx'; import '../../node_modules/open-iconic/font/css/open-iconic.css'; -import 'style/base.scss'; +// import 'style/base.scss'; 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); } @@ -45,7 +45,7 @@ class SshKeys extends Component { let Store = self.Store; // return
test
return ( -
+
{ self.state.data && self.state.data.keys.map(function(k, i) { let sshKey = self.state.data.entities[k];