From 94b8ea23fd15dd74fcfa855a1a34849f8cd1f2ca Mon Sep 17 00:00:00 2001 From: mgabdev <> Date: Fri, 19 Jul 2019 18:02:36 -0400 Subject: [PATCH] Added onClose function to list editor modal --- app/javascript/gabsocial/features/list_editor/index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/javascript/gabsocial/features/list_editor/index.js b/app/javascript/gabsocial/features/list_editor/index.js index a90dff30..784a4e9e 100644 --- a/app/javascript/gabsocial/features/list_editor/index.js +++ b/app/javascript/gabsocial/features/list_editor/index.js @@ -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;