Skip to content

Commit

Permalink
Merge pull request #11000 from hassnian/issue-10646-2
Browse files Browse the repository at this point in the history
fix: Listing popup displayed with listing modal
  • Loading branch information
vikiival authored Sep 19, 2024
2 parents eedf527 + 157df86 commit fc2b589
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions components/collection/drop/ItemsGrid.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
:grid-size="'medium'"
display-name-with-sn
collection-popover-hide
hide-listing
show-timestamp
:reset-search-query-params="['sort']"
/>
Expand Down
3 changes: 3 additions & 0 deletions components/items/ItemsGrid/ItemsGrid.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
:display-name-with-sn="displayNameWithSn"
:show-timestamp="showTimestamp"
:collection-popover-hide="collectionPopoverHide"
:hide-listing="hideListing"
:lazy-loading="
shouldLazyLoad({
cols: slotProps.cols,
Expand All @@ -49,6 +50,7 @@
:entity="entity"
:hide-media-info="hideMediaInfo"
:hide-action="hideNFTHoverAction"
:hide-listing="hideListing"
:display-name-with-sn="displayNameWithSn"
hide-video-controls
:lazy-loading="
Expand Down Expand Up @@ -146,6 +148,7 @@ const props = defineProps<{
showTimestamp?: boolean
hideHoverAction?: boolean
collectionPopoverHide?: boolean
hideListing?: boolean
}>()
const emit = defineEmits(['total', 'loading'])
Expand Down
3 changes: 2 additions & 1 deletion components/items/ItemsGrid/ItemsGridImage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
</NeoButton>
</div>
<div
v-else-if="isOwner && listVisible(urlPrefix)"
v-else-if="isOwner && listVisible(urlPrefix) && !hideListing"
class="flex"
>
<NeoButton
Expand Down Expand Up @@ -112,6 +112,7 @@ const props = defineProps<{
hideMediaInfo?: boolean
hideAction?: boolean
hideVideoControls?: boolean
hideListing?: boolean
displayNameWithSn?: boolean
showTimestamp?: boolean
collectionPopoverHide?: boolean
Expand Down
3 changes: 2 additions & 1 deletion components/items/ItemsGrid/ItemsGridImageTokenEntity.vue
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
</NeoButton>
</div>
<div
v-else-if="isOwner"
v-else-if="isOwner && !hideListing"
class="flex"
>
<template v-if="isStack">
Expand Down Expand Up @@ -129,6 +129,7 @@ const props = defineProps<{
displayNameWithSn?: boolean
lazyLoading?: boolean
skeletonVariant: string
hideListing?: boolean
}>()
const {
Expand Down
1 change: 0 additions & 1 deletion layouts/unlockable-mint-layout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
<LazyCookieBanner />
<KeyboardShortcutsModal />
<Buy />
<ListingCartMini />
<ListingCartModal />
</div>
</template>

0 comments on commit fc2b589

Please sign in to comment.