From 0459eceee74939550d997a223a792ddff51bb938 Mon Sep 17 00:00:00 2001 From: Belen Curcio Date: Sun, 19 Nov 2017 22:40:06 -0300 Subject: [PATCH] refetch status --- .../coral-admin/src/routes/Community/containers/People.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/client/coral-admin/src/routes/Community/containers/People.js b/client/coral-admin/src/routes/Community/containers/People.js index 1e701e431..d857aa367 100644 --- a/client/coral-admin/src/routes/Community/containers/People.js +++ b/client/coral-admin/src/routes/Community/containers/People.js @@ -63,6 +63,11 @@ class PeopleContainer extends React.Component { this.fetchUsers({page}); } + setUserBanStatus = async (input) => { + await this.props.setUserBanStatus(input); + this.fetchUsers(); + } + render() { return