Added onClose function to list editor modal

This commit is contained in:
mgabdev 2019-07-19 18:02:36 -04:00
parent 937a7540bd
commit 94b8ea23fd

View File

@ -55,6 +55,10 @@ class ListEditor extends ImmutablePureComponent {
onReset();
}
onClickClose = () => {
this.props.onClose('LIST_ADDER');
};
render () {
const { accountIds, searchAccountIds, onClear, intl } = this.props;
const showSearch = searchAccountIds.size > 0;