Skip to content

Commit

Permalink
fix: do not display a shipping method details popover if no shipping …
Browse files Browse the repository at this point in the history
…method description is managed
  • Loading branch information
shauke committed Aug 9, 2022
1 parent d22ba7d commit 8fe342b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<ng-template #fieldComponent></ng-template>
<label class="form-check-label" [for]="to.id" [ngClass]="to.labelClass">
<ish-shipping-info [shippingMethodId]="to.value"></ish-shipping-info>
<a class="details-tooltip" [ngbPopover]="ShippingMethodDescription" placement="top">
<a *ngIf="to.description" class="details-tooltip" [ngbPopover]="ShippingMethodDescription" placement="top">
{{ 'checkout.detail.text' | translate }}
<fa-icon [icon]="['fas', 'info-circle']"></fa-icon>
</a>
Expand Down

0 comments on commit 8fe342b

Please sign in to comment.