Merge: - client: fix url change handler on filters modal
* commit '92561cf04f631cb65fcddf80838252d9b34b8e4a': - client: fix url change handler on filters modal
This commit is contained in:
commit
48a4df1a9f
|
@ -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) => {
|
||||
|
|
Loading…
Reference in New Issue