Skip to content

Commit

Permalink
🔀 Merge #438 updates into deploy/rinkeby
Browse files Browse the repository at this point in the history
  • Loading branch information
AuroraHuang22 committed Feb 7, 2024
2 parents 2f51547 + c589794 commit cddd45d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
13 changes: 7 additions & 6 deletions components/IscnEditBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,9 @@
<div
:class="[
'flex',
'justify-end',
'justify-center',
'items-center',
'w-full',
'pt-[24px]',
'gap-[8px]',
'lg:pt-0',
]"
>
<div
Expand All @@ -22,6 +19,7 @@
<div class="h-[20px] w-[2px] bg-medium-gray" />
</div>
<Button
class="flex flex-shrink-0"
preset="tertiary"
:text="$t('NFTPortal.button.download.iscn')"
@click="handleClickDownload"
Expand All @@ -35,7 +33,7 @@
preset="secondary"
class="w-full lg:w-auto"
:text="$t('NFTPortal.button.mint.book')"
@click="clickMintNFTBook"
@click="handleClickMintNFTBook"
/>
<Button
v-if="isShowMintButton && !isNftBook"
Expand Down Expand Up @@ -77,10 +75,13 @@ export default class IscnEditBar extends Vue {
@Prop({ default: false }) readonly isShowMintButton!: boolean
@Prop({ default: false }) readonly isNftBook!: boolean
@Prop(String) readonly iscnId: string | undefined
@Prop({ default: null }) readonly mintQueries!: any | null
@Prop(String) readonly classId!: string
@Prop(String) readonly likerlandNftUrl!: string
get mintQueries() {
return this.$route.query;
}
handleClickDownload() {
this.$emit('click-download', this.iscnId)
}
Expand Down
1 change: 0 additions & 1 deletion components/IscnUploadedInfo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
:iscn-id="iscnId"
:is-show-mint-button="true"
:is-nft-book="type === 'Book'"
:should-show-mint-button="true"
@click-edit="handleEdit"
@click-download="handleClickDownload"
@click-mint-book="clickMintNFTBook"
Expand Down
3 changes: 2 additions & 1 deletion pages/view/_iscnId/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -79,15 +79,16 @@
'max-w-[960px]',
'mx-auto',
'px-[8px]',
'py-[24px]',
'lg:px-0',
]"
>
<IscnEditBar
class="ml-auto"
:is-iscn-owner="isIscnOwner"
:iscn-id="iscnId"
:is-show-mint-button="isShowMintButton"
:is-nft-book="isNFTBook"
:mint-queries="mintQueries"
:class-id="classId"
:likerland-nft-url="likerlandNftUrl"
:should-show-mint-button="isShowMintButton"
Expand Down

0 comments on commit cddd45d

Please sign in to comment.