Skip to content

Commit

Permalink
Merge pull request #11077 from roiLeo/hotfix/action/list
Browse files Browse the repository at this point in the history
  • Loading branch information
vikiival authored Oct 3, 2024
2 parents ba4ff11 + 88f2c86 commit 104c1da
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions components/gallery/GalleryItemAction/GalleryItemAction.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

<!-- change price as an owner -->
<GalleryItemPriceRelist
v-if="isOwner && nft?.id && nft?.price && nft?.collection.id && listVisible(urlPrefix)"
v-if="isOwner && nft?.id && nft?.collection.id && listVisible(urlPrefix)"
:nft="nft"
class="mt-2"
/>
Expand All @@ -29,7 +29,6 @@ import GalleryItemOffer from './GalleryItemActionType/GalleryItemOffer.vue'
import GalleryItemPriceRelist from './GalleryItemActionType/GalleryItemRelist.vue'
import { listVisible, offerVisible } from '@/utils/config/permission.config'
import type { NFTOffer } from '@/composables/useNft'
import type { NFT } from '@/components/rmrk/service/scheme'
const props = defineProps<{
Expand All @@ -41,5 +40,3 @@ const { urlPrefix } = usePrefix()
const { isCurrentOwner } = useAuth()
const isOwner = computed(() => isCurrentOwner(props.nft?.currentOwner))
</script>

<style scoped></style>

0 comments on commit 104c1da

Please sign in to comment.