Export acc js (#4973)
* Export account RPC * Removing GethDirectory and ParityDirectory * js export accounts as json * js export accounts as json * api - then - catch * final touches * pass * oops * individual accounts * refactoring * refactor one * refactor one * refactor two * some grumble fixes * file name changes * constructor * constructor * git recognize file name change * spec and updates * specs * one tiny fix * one tiny fix * grumbles * more grumbles * sliders * ff * pointer default * grumbles * almost ready * lots of updates * accountList * stupid debuglog * bug fix * bug fix * some more good ol fashioned updates * filter accounts * clean * update spec * ff * ff-f * balances fix
This commit is contained in:
committed by
Jaco Greeff
parent
3be3b78c90
commit
cf904b6b2f
@@ -29,7 +29,7 @@ export default class SelectionList extends Component {
|
||||
items: arrayOrObjectProptype().isRequired,
|
||||
noStretch: PropTypes.bool,
|
||||
onDefaultClick: PropTypes.func,
|
||||
onSelectClick: PropTypes.func.isRequired,
|
||||
onSelectClick: PropTypes.func,
|
||||
onSelectDoubleClick: PropTypes.func,
|
||||
renderItem: PropTypes.func.isRequired
|
||||
};
|
||||
@@ -57,8 +57,10 @@ export default class SelectionList extends Component {
|
||||
: item.checked;
|
||||
|
||||
const handleClick = () => {
|
||||
onSelectClick(item);
|
||||
return false;
|
||||
if (onSelectClick) {
|
||||
onSelectClick(item);
|
||||
return false;
|
||||
}
|
||||
};
|
||||
const handleDoubleClick = () => {
|
||||
onSelectDoubleClick(item);
|
||||
|
||||
Reference in New Issue
Block a user