mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2026-08-04 15:28:58 +00:00
support all comments for ignored domains
This commit is contained in:
parent
decb5b6587
commit
b5bfdc81c4
1 changed files with 2 additions and 0 deletions
|
|
@ -9,6 +9,7 @@ import theme from 'panel/lib/theme';
|
|||
import { trimLinesAndRemoveEmpty } from 'panel/helpers/helpers';
|
||||
|
||||
import s from './IgnoredDomainsModal.module.pcss';
|
||||
import { COMMENT_LINE_TOKENS } from 'panel/helpers/constants';
|
||||
|
||||
type Props = {
|
||||
open: boolean;
|
||||
|
|
@ -88,6 +89,7 @@ export const IgnoredDomainsModal = (props: Props) => {
|
|||
placeholder={`example.com\n*.example.com\n||example.com^`}
|
||||
size="large"
|
||||
disabled={props.processing}
|
||||
commentPrefixes={COMMENT_LINE_TOKENS}
|
||||
highlightComments
|
||||
/>
|
||||
</ConfigDialog>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue