- client: fix url change handler on filters modal
This commit is contained in:
parent
9a28526fa3
commit
92561cf04f
|
@ -21,11 +21,7 @@ class Modal extends Component {
|
||||||
|
|
||||||
handleUrlChange = async (e) => {
|
handleUrlChange = async (e) => {
|
||||||
const { value: url } = e.currentTarget;
|
const { value: url } = e.currentTarget;
|
||||||
if (this.isUrlValid(url)) {
|
this.setState(...this.state, { url, isUrlValid: this.isUrlValid(url) });
|
||||||
this.setState(...this.state, { url, isUrlValid: true });
|
|
||||||
} else {
|
|
||||||
this.setState(...this.state, { url, isUrlValid: false });
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
handleNameChange = (e) => {
|
handleNameChange = (e) => {
|
||||||
|
|
Loading…
Reference in New Issue