Skip to content

Commit

Permalink
refactor: truthy value in if else
Browse files Browse the repository at this point in the history
  • Loading branch information
hetd54 committed Jan 10, 2025
1 parent d1f8584 commit 09c974c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/base/Accordion.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
{{ title }}
</p>
<a class="card-header-icon">
<span v-if="expanded === false" class="icon">
<i class="mdi mdi-plus mdi-24px" />
<span v-if="expanded" class="icon">
<i class="mdi mdi-minus mdi-24px" />
</span>
<span v-else class="icon">
<i class="mdi mdi-minus mdi-24px" />
<i class="mdi mdi-plus mdi-24px" />
</span>
</a>
</header>
Expand Down

0 comments on commit 09c974c

Please sign in to comment.