mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2025-05-01 05:31:38 +03:00
+ client: handle default blocking mode
This commit is contained in:
parent
8daca1a55a
commit
b01af453cc
4 changed files with 12 additions and 3 deletions
client/src/components/Settings/Dns/Config
|
@ -83,7 +83,11 @@ let Form = ({
|
|||
<Trans>blocking_mode</Trans>
|
||||
</label>
|
||||
<div className="form__desc form__desc--top">
|
||||
<Trans components={[<div key="0">text</div>]}>blocking_mode_desc</Trans>
|
||||
{Object.values(BLOCKING_MODES).map(mode => (
|
||||
<li key={mode}>
|
||||
<Trans >{`blocking_mode_${mode}`}</Trans>
|
||||
</li>
|
||||
))}
|
||||
</div>
|
||||
<div className="custom-controls-stacked">
|
||||
{getFields(processing, t)}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue