Skip to content

Commit

Permalink
client: check upstreams
Browse files Browse the repository at this point in the history
  • Loading branch information
IldarKamalov committed Jun 1, 2021
1 parent 05fe6ea commit 76e8492
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/components/Settings/Dns/Upstream/Form.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ const Form = ({
</div>
<div className="form__desc form__desc--top">
{/** TODO: Add internazionalization for "" */}
{defaultLocalPtrUpstreams.length > 0 ? (
{defaultLocalPtrUpstreams?.length > 0 ? (
<Trans values={{ ip: defaultLocalPtrUpstreams.map((s) => `"${s}"`).join(', ') }}>local_ptr_default_resolver</Trans>
) : (
<Trans>local_ptr_no_default_resolver</Trans>
Expand Down

0 comments on commit 76e8492

Please sign in to comment.