Skip to content

Commit

Permalink
Conditionally render checkout div based on metadata presence.
Browse files Browse the repository at this point in the history
Added an *ngIf directive to the checkout-wrapper div to ensure it is only displayed when metadata is present. This helps in preventing errors and improving user experience by showing relevant content conditionally.
  • Loading branch information
Zerskk committed Dec 2, 2024
1 parent 58ed523 commit 80cfe58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion archigator/src/app/main/main.component.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--<app-header></app-header>-->

<div class="checkout-wrapper">
<div class="checkout-wrapper" *ngIf="hasMetadata; else noMetadata">

<div class="checkout-main">

Expand Down

0 comments on commit 80cfe58

Please sign in to comment.