diff --git a/src/user/organization/popups/Admins.js b/src/user/organization/popups/Admins.js index 6e145ac8..5da4c860 100644 --- a/src/user/organization/popups/Admins.js +++ b/src/user/organization/popups/Admins.js @@ -100,6 +100,10 @@ class Admins extends Component { const { onHide, show } = this.props const { inviteLink, whoCanSendInvite } = this.state const adminList = [...this.state.admins] + const clear = () => { + this.setState({ query: "" }) + onHide() + } let admins = adminList.map((item) => (
@@ -123,7 +127,7 @@ class Admins extends Component { )); return ( { + this.setState({ query: "" }) + onHide() + } let members = membersList.map((item) => (
@@ -142,7 +146,7 @@ class Members extends Component { )); return (