Skip to content

Commit

Permalink
Improved: code for enhancement of completed items icon (hotwax#271)
Browse files Browse the repository at this point in the history
  • Loading branch information
amansinghbais committed Dec 21, 2023
1 parent cc8e594 commit 74a4001
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/views/PurchaseOrderDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@
<ion-text v-else color="medium" class="ion-margin-end">
{{ $t("COMPLETED: ITEM", { itemsCount: getPOItems('completed').length }) }}
</ion-text>
<ion-button v-if="getPOItems('completed').length" @click="showCompletedItems = !showCompletedItems" fill="clear">
<ion-icon :icon="showCompletedItems ? eyeOutline : eyeOffOutline"/>
<ion-button v-if="getPOItems('completed').length" @click="showCompletedItems = !showCompletedItems" color="medium" fill="clear">
<ion-icon :icon="showCompletedItems ? eyeOutline : eyeOffOutline" slot="icon-only" />
</ion-button>
</ion-item>

Expand Down

0 comments on commit 74a4001

Please sign in to comment.