Skip to content

Commit

Permalink
Improved: Added Pointer on Hover for Completed items icon(#271)
Browse files Browse the repository at this point in the history
  • Loading branch information
shanmukhdutt committed Dec 13, 2023
1 parent d6efb94 commit 0edc660
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/views/PurchaseOrderDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,9 @@
<ion-text v-else color="medium" class="ion-margin-end">
{{ $t("COMPLETED: ITEM", { itemsCount: getPOItems('completed').length }) }}
</ion-text>
<ion-icon v-if="getPOItems('completed').length" :icon="showCompletedItems ? eyeOutline : eyeOffOutline" @click="showCompletedItems = !showCompletedItems" class="pointer"/>
<ion-button @click="showCompletedItems = !showCompletedItems" fill="clear">
<ion-icon v-if="getPOItems('completed').length" :icon="showCompletedItems ? eyeOutline : eyeOffOutline" />
</ion-button>
</ion-item>

<ion-card v-for="(item, index) in getPOItems('completed')" v-show="showCompletedItems && item.orderItemStatusId === 'ITEM_COMPLETED'" :key="index">
Expand Down Expand Up @@ -411,8 +413,5 @@ ion-thumbnail {
grid: "receive progressbar history ordered" / max-content 1fr max-content max-content;
padding-left: var(--spacer-sm);
}
.pointer{
cursor: pointer;
}
}
</style>

0 comments on commit 0edc660

Please sign in to comment.