projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
13494: Adds integration test for collection version browsing.
[arvados-workbench2.git]
/
src
/
views
/
ssh-key-panel
/
ssh-key-panel.tsx
diff --git
a/src/views/ssh-key-panel/ssh-key-panel.tsx
b/src/views/ssh-key-panel/ssh-key-panel.tsx
index c7e3516e0ab9cf2bede1b08df4256ab8c2821d55..6575a9cc179aad9c8318303dfcc5faade6766379 100644
(file)
--- a/
src/views/ssh-key-panel/ssh-key-panel.tsx
+++ b/
src/views/ssh-key-panel/ssh-key-panel.tsx
@@
-5,7
+5,7
@@
import { RootState } from '~/store/store';
import { Dispatch } from 'redux';
import { connect } from 'react-redux';
import { RootState } from '~/store/store';
import { Dispatch } from 'redux';
import { connect } from 'react-redux';
-import { openSshKeyCreateDialog, openPublicKeyDialog } from '~/store/auth/auth-action';
+import { openSshKeyCreateDialog, openPublicKeyDialog } from '~/store/auth/auth-action
-ssh
';
import { openSshKeyContextMenu } from '~/store/context-menu/context-menu-actions';
import { SshKeyPanelRoot, SshKeyPanelRootDataProps, SshKeyPanelRootActionProps } from '~/views/ssh-key-panel/ssh-key-panel-root';
import { openSshKeyContextMenu } from '~/store/context-menu/context-menu-actions';
import { SshKeyPanelRoot, SshKeyPanelRootDataProps, SshKeyPanelRootActionProps } from '~/views/ssh-key-panel/ssh-key-panel-root';
@@
-20,12
+20,12
@@
const mapDispatchToProps = (dispatch: Dispatch): SshKeyPanelRootActionProps => (
openSshKeyCreateDialog: () => {
dispatch<any>(openSshKeyCreateDialog());
},
openSshKeyCreateDialog: () => {
dispatch<any>(openSshKeyCreateDialog());
},
- openRowOptions: (event,
index,
sshKey) => {
- dispatch<any>(openSshKeyContextMenu(event,
index,
sshKey));
+ openRowOptions: (event, sshKey) => {
+ dispatch<any>(openSshKeyContextMenu(event, sshKey));
},
openPublicKeyDialog: (name: string, publicKey: string) => {
dispatch<any>(openPublicKeyDialog(name, publicKey));
}
});
},
openPublicKeyDialog: (name: string, publicKey: string) => {
dispatch<any>(openPublicKeyDialog(name, publicKey));
}
});
-export const SshKeyPanel = connect(mapStateToProps, mapDispatchToProps)(SshKeyPanelRoot);
\ No newline at end of file
+export const SshKeyPanel = connect(mapStateToProps, mapDispatchToProps)(SshKeyPanelRoot);