itizawa 6 лет назад
Родитель
Сommit
977f18536b
1 измененных файлов с 0 добавлено и 1 удалено
  1. 0 1
      src/client/js/components/Admin/UserGroupDetail/UserGroupUserFormByInput.jsx

+ 0 - 1
src/client/js/components/Admin/UserGroupDetail/UserGroupUserFormByInput.jsx

@@ -40,7 +40,6 @@ class UserGroupUserFormByInput extends React.Component {
     try {
     try {
       await this.props.userGroupDetailContainer.addUserByUsername(userName);
       await this.props.userGroupDetailContainer.addUserByUsername(userName);
       toastSuccess(`Added "${this.xss.process(userName)}" to "${this.xss.process(this.props.userGroupDetailContainer.state.userGroup.name)}"`);
       toastSuccess(`Added "${this.xss.process(userName)}" to "${this.xss.process(this.props.userGroupDetailContainer.state.userGroup.name)}"`);
-      this.setState({ inputUser: '' });
     }
     }
     catch (err) {
     catch (err) {
       toastError(new Error(`Unable to add "${this.xss.process(userName)}" to "${this.xss.process(this.props.userGroupDetailContainer.state.userGroup.name)}"`));
       toastError(new Error(`Unable to add "${this.xss.process(userName)}" to "${this.xss.process(this.props.userGroupDetailContainer.state.userGroup.name)}"`));