Skip to content

Commit

Permalink
fix(templates): show/hide order details conditionally in vue-demo-sto…
Browse files Browse the repository at this point in the history
…re (#1317)

* addedVifConiditionToShowAndHideOrderDetails
* reverted pnpm-lock.yml File

---------

Co-authored-by: Soliheen Farooq Khan <soliheen.farooqkhan@u-next.com>
  • Loading branch information
khanSoliheen and Soliheen Farooq Khan authored Sep 26, 2024
1 parent 15bebee commit c18d995
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/proud-poets-roll.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"vue-demo-store": patch
---

revertedpnpm-lock.yaml file
5 changes: 5 additions & 0 deletions .changeset/quick-beans-sparkle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"vue-demo-store": patch
---

Added v-if condition to show and hide AccountOrderDetails
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ const formatDate = (date: Date | string) =>
{{ !isExpand ? "View" : "Hide" }}
</div>
</div>
<template v-if="order?.id">
<template v-if="order?.id && isExpand">
<transition>
<AccountOrderDetails v-show="isExpand" :order-id="order.id" />
</transition>
Expand Down

0 comments on commit c18d995

Please sign in to comment.