Skip to content

Commit

Permalink
kodadot#7879 Disable change price from explorer
Browse files Browse the repository at this point in the history
  • Loading branch information
prachi00 committed Nov 2, 2023
1 parent 4f9698c commit 1c1c011
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions components/items/Items.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<hr class="my-0" />
</div>
<ItemsGrid
:hide-relist="true"
@total="(v) => (total = v)"
@loading="
(loading) => {
Expand Down
2 changes: 2 additions & 0 deletions components/items/ItemsGrid/ItemsGrid.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
:nft="entity"
:hide-media-info="hideMediaInfo"
:hide-action="hideNFTHoverAction"
:hide-relist="hideRelist"
:variant="
slotProps.isMobileVariant || slotProps.grid === 'small'
? 'minimal'
Expand Down Expand Up @@ -83,6 +84,7 @@ const route = useRoute()
const props = defineProps<{
search?: Record<string, string | number>
hideRelist?: 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 @@ -38,7 +38,7 @@
<img :src="cartIcon" class="image is-16x16" alt="cart icon" />
</NeoButton>
</div>
<div v-else-if="isOwner" class="is-flex">
<div v-else-if="isOwner && !hideRelist" class="is-flex">
<NeoButton
:label="listLabel"
data-testid="item-buy"
Expand Down Expand Up @@ -81,6 +81,7 @@ const props = defineProps<{
variant?: NftCardVariant
hideMediaInfo?: boolean
hideAction?: boolean
hideRelist?: boolean
}>()
const { showCardIcon, cardIcon } = useNftCardIcon(computed(() => props.nft))
Expand Down

0 comments on commit 1c1c011

Please sign in to comment.