Merge: - client: fix url change handler on filters modal

* commit '92561cf04f631cb65fcddf80838252d9b34b8e4a':
  - client: fix url change handler on filters modal
This commit is contained in:
Ildar Kamalov 2019-09-16 15:18:23 +03:00
commit 48a4df1a9f
1 changed files with 1 additions and 5 deletions

View File

@ -21,11 +21,7 @@ class Modal extends Component {
handleUrlChange = async (e) => {
const { value: url } = e.currentTarget;
if (this.isUrlValid(url)) {
this.setState(...this.state, { url, isUrlValid: true });
} else {
this.setState(...this.state, { url, isUrlValid: false });
}
this.setState(...this.state, { url, isUrlValid: this.isUrlValid(url) });
};
handleNameChange = (e) => {