Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>
import { SshKeyPanelRoot, SshKeyPanelRootDataProps, SshKeyPanelRootActionProps } from 'views/ssh-key-panel/ssh-key-panel-root';
const mapStateToProps = (state: RootState): SshKeyPanelRootDataProps => {
import { SshKeyPanelRoot, SshKeyPanelRootDataProps, SshKeyPanelRootActionProps } from 'views/ssh-key-panel/ssh-key-panel-root';
const mapStateToProps = (state: RootState): SshKeyPanelRootDataProps => {
- const sshKeys = state.auth.sshKeys = state.auth.sshKeys.filter((key) => {
+ const sshKeys = state.auth.sshKeys.filter((key) => {
return key.authorizedUserUuid == state.auth.user.uuid;
});
return key.authorizedUserUuid == state.auth.user.uuid;
});