mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2025-02-17 02:19:51 +03:00
- client: fix url change handler on filters modal
This commit is contained in:
parent
9a28526fa3
commit
92561cf04f
1 changed files with 1 additions and 5 deletions
|
@ -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…
Add table
Reference in a new issue