Skip to content

Commit

Permalink
Merge pull request #3441 from superhero-com/feature/fix-auction-history
Browse files Browse the repository at this point in the history
fix: show auction history correctly
  • Loading branch information
CedrikNikita authored Dec 19, 2024
2 parents a06ee6b + 99122f5 commit 37dcb95
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/popup/pages/Names/AuctionHistory.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
<script lang="ts">
import { IonPage, IonContent } from '@ionic/vue';
import { defineComponent, computed } from 'vue';
import { isEqual } from 'lodash-es';
import { PROTOCOLS } from '@/constants';
import { useAeNames } from '@/protocols/aeternity/composables/aeNames';
Expand All @@ -63,7 +64,7 @@ export default defineComponent({
const highestBid = computed(() => getNameAuctionHighestBid(props.name));
const previousBids = computed(
() => getNameAuction(props.name).bids.filter((bid) => bid !== highestBid.value),
() => getNameAuction(props.name).bids.filter((bid) => !isEqual(bid, highestBid.value)),
);
return {
Expand Down

0 comments on commit 37dcb95

Please sign in to comment.