mirror of
https://github.com/Redocly/redoc.git
synced 2025-07-12 17:22:29 +03:00
fix: don't show contact if it is empty object
This commit is contained in:
parent
00b304a4be
commit
6077cc6afd
|
@ -6,7 +6,7 @@
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<!-- TODO: create separate components for contact and license ? -->
|
<!-- TODO: create separate components for contact and license ? -->
|
||||||
<span *ngIf="info?.contact"> Contact:
|
<span *ngIf="info?.contact?.url || info?.contact?.email"> Contact:
|
||||||
<a *ngIf="info.contact.url" href="{{info.contact.url}}">
|
<a *ngIf="info.contact.url" href="{{info.contact.url}}">
|
||||||
{{info.contact.name || info.contact.url}}</a>
|
{{info.contact.name || info.contact.url}}</a>
|
||||||
<a *ngIf="info.contact.email" href="mailto:{{info.contact.email}}">
|
<a *ngIf="info.contact.email" href="mailto:{{info.contact.email}}">
|
||||||
|
|
Loading…
Reference in New Issue
Block a user