diff --git a/openflare_server/web/features/waf/components/rule-entry-modal.tsx b/openflare_server/web/features/waf/components/rule-entry-modal.tsx index 462de57d..89b963c4 100644 --- a/openflare_server/web/features/waf/components/rule-entry-modal.tsx +++ b/openflare_server/web/features/waf/components/rule-entry-modal.tsx @@ -72,7 +72,7 @@ export function RuleEntryModal({ const clearCountries = () => onChange({ countryValues: [] }); - const typeLabel = state.listType === 'whitelist' ? '白名单' : '黑名单'; + const typeLabel = state.listType === 'blacklist' ? '黑名单' : '白名单'; const dimensionLabel = state.dimension === 'ip' ? 'IP' : '地域'; return (