Merge: + client: Hide dns autofix warning text

Squashed commit of the following:

commit e99192ac85400bcce09ca8d73ceef0224f003e0c
Author: ArtemBaskal <a.baskal@adguard.com>
Date:   Thu Apr 30 16:03:20 2020 +0300

    Show autofix warning conditionally

commit e5658fc3aaee449a49bee76063033dc62e61c722
Author: ArtemBaskal <a.baskal@adguard.com>
Date:   Wed Apr 29 19:18:02 2020 +0300

    + client: Add wiki link on instllation screen
This commit is contained in:
Artem Baskal 2020-04-30 18:59:14 +03:00
parent a702eda9d9
commit 89920bc518
1 changed files with 40 additions and 39 deletions

View File

@ -300,6 +300,7 @@ class Settings extends Component {
</button>
}
</div>
{isDnsFixAvailable &&
<div className="text-muted mb-2">
<p className="mb-1">
<Trans>autofix_warning_text</Trans>
@ -310,7 +311,7 @@ class Settings extends Component {
<p className="mb-1">
<Trans>autofix_warning_result</Trans>
</p>
</div>
</div>}
<hr className="divider--small" />
</Fragment>
}