mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2025-04-01 23:13:36 +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) => {
|
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…
Add table
Reference in a new issue