Skip to content

Commit

Permalink
🐛 Fix missing shipping details name
Browse files Browse the repository at this point in the history
  • Loading branch information
williamchong committed Feb 26, 2024
1 parent 4126e77 commit 37685db
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,14 @@
</h3>
</template>
<table class="divide-y w-full">
<tr v-if="orderInfo.shippingDetails?.name">
<td class="text-left px-4 py-3">
Name
</td>
<td class="text-left px-4 py-3">
{{ orderInfo.shippingDetails.name }}
</td>
</tr>
<tr v-for="[key, value] in Object.entries(orderInfo.shippingDetails?.address)" :key="key">
<td class="text-left px-4 py-3">
{{ key }}
Expand Down
8 changes: 8 additions & 0 deletions pages/nft-book-store/send/shipping/[classId].vue
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,14 @@
</h3>
</template>
<table class="divide-y w-full">
<tr v-if="orderInfo.shippingDetails?.name">
<td class="text-left px-4 py-3">
Name
</td>
<td class="text-left px-4 py-3">
{{ orderInfo.shippingDetails.name }}
</td>
</tr>
<tr v-for="[key, value] in Object.entries(orderInfo.shippingDetails?.address)" :key="key">
<td class="text-left px-4 py-3">
{{ key }}
Expand Down

0 comments on commit 37685db

Please sign in to comment.