mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-26 15:05:50 +03:00
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
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…
Reference in a new issue