[common] For Bug 56305

This commit is contained in:
SergeyEzhin 2022-05-11 18:55:02 +04:00
parent 830b4944ce
commit 284e697090

View file

@ -52,7 +52,7 @@ const PageAbout = props => {
{addressCustomer && addressCustomer.length ? (
<p>
<label>{_t.textAddress}:</label>
<Link id="settings-about-address" className="external">{addressCustomer}</Link>
<Link id="settings-about-address" external={true}>{addressCustomer}</Link>
</p>
) : null}
{mailCustomer && mailCustomer.length ? (
@ -63,7 +63,7 @@ const PageAbout = props => {
) : null}
{urlCustomer && urlCustomer.length ? (
<p>
<Link id="settings-about-url" className="external" target="_blank"
<Link id="settings-about-url" external={true} target="_blank"
href={!/^https?:\/{2}/i.test(urlCustomer) ? "http:\/\/" : '' + urlCustomer}>
{urlCustomer}
</Link>
@ -82,7 +82,7 @@ const PageAbout = props => {
</p>
<h3 className="vendor">{publisherName}</h3>
<p>
<Link className="external" target="_blank" href={publisherUrl}>{publisherPrintUrl}</Link>
<Link external={true} target="_blank" href={publisherUrl}>{publisherPrintUrl}</Link>
</p>
</div>
</Fragment>
@ -110,7 +110,7 @@ const PageAbout = props => {
<Link id="settings-about-tel" external={true} href={`tel:${__PUBLISHER_PHONE__}`}>{__PUBLISHER_PHONE__}</Link>
</p>
<p>
<a id="settings-about-url" className="external" target="_blank" href={publisherUrl}>{publisherPrintUrl}</a>
<Link id="settings-about-url" external={true} target="_blank" href={publisherUrl}>{publisherPrintUrl}</Link>
</p>
</div>
</Fragment>