support all comments for ignored domains

This commit is contained in:
Ildar Kamalov 2026-07-16 11:33:09 +03:00
parent decb5b6587
commit b5bfdc81c4

View file

@ -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>