mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-15 18:08:30 -07:00
- client: Don't normalise disallowed domains
Close #1820
Squashed commit of the following:
commit 0c758ddcd738136b92e6f947a8068ecc59f7ec25
Merge: 15650db3 f5a1f311
Author: ArtemBaskal <a.baskal@adguard.com>
Date: Fri Jul 3 11:22:00 2020 +0300
Merge branch 'master' into fix/1820
commit 15650db35323009001fd427a74a312705b54ac86
Author: ArtemBaskal <a.baskal@adguard.com>
Date: Mon Jun 29 12:01:51 2020 +0300
'- client: Don't normalise disallowed domains'
This commit is contained in:
parent
f5a1f31103
commit
9640752d20
@ -37,8 +37,8 @@ const FILTERS_ITEMS = [
|
||||
{ route: FILTERS_URLS.dns_blocklists, text: 'dns_blocklists' },
|
||||
{ route: FILTERS_URLS.dns_allowlists, text: 'dns_allowlists' },
|
||||
{ route: FILTERS_URLS.dns_rewrites, text: 'dns_rewrites' },
|
||||
{ route: FILTERS_URLS.custom_rules, text: 'custom_filtering_rules' },
|
||||
{ route: FILTERS_URLS.blocked_services, text: 'blocked_services' },
|
||||
{ route: FILTERS_URLS.custom_rules, text: 'custom_filtering_rules' },
|
||||
];
|
||||
|
||||
class Menu extends Component {
|
||||
|
@ -46,7 +46,7 @@ const Form = (props) => {
|
||||
type="text"
|
||||
className="form-control form-control--textarea font-monospace"
|
||||
disabled={disabled}
|
||||
normalizeOnBlur={normalizeMultiline}
|
||||
normalizeOnBlur={id === 'disallowed_clients' ? normalizeMultiline : undefined}
|
||||
/>
|
||||
</div>;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user