Added onClose function to list editor modal
This commit is contained in:
parent
937a7540bd
commit
94b8ea23fd
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user