Skip to content

Commit

Permalink
feat(link-card): display url if no link name nor description present (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
tkohr authored Sep 22, 2023
1 parent 6733dec commit 1083b93
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions libs/ui/elements/src/lib/link-card/link-card.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@
<p class="font-medium text-sm break-words">
{{ link.description }}
</p>
<p
*ngIf="!link.name && !link.description"
class="font-medium text-sm break-words truncate"
>
{{ link.url }}
</p>
</div>
<div>
<mat-icon class="material-symbols-outlined card-icon">open_in_new</mat-icon>
Expand Down

0 comments on commit 1083b93

Please sign in to comment.