Skip to content

Commit

Permalink
Fix file drop, allow royalty percentage decimals, switch to mainnet link
Browse files Browse the repository at this point in the history
  • Loading branch information
greimela committed Jun 30, 2022
1 parent dab90ea commit 87b7b67
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/pages/Minting.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ watch(chiaState, (value, oldValue) => {
const drop = async (e: any) => {
const file = e.dataTransfer.files[0];
loadFile(file.path);
loadFile(file);
};
const selectedFile = async () => {
const file = (document.querySelector('#dropzoneFile') as any).files[0];
Expand Down Expand Up @@ -269,6 +269,7 @@ const getProgressWidth = () => {
<div class="mt-1">
<input
type="number"
step="any"
v-model="onChainMetadata.royaltyPercentage"
name="royaltyPercentage"
id="royaltyPercentage"
Expand Down Expand Up @@ -341,8 +342,8 @@ const getProgressWidth = () => {
<a
class="font-semibold text-emerald-600"
href="#"
@click.prevent="shell.openExternal(`https://testnet.mintgarden.io/nfts${nft ? `/${nft.encodedId}` : ''}`)"
>https://testnet.mintgarden.io/nfts{{ nft ? `/${nft.encodedId}` : '' }}</a
@click.prevent="shell.openExternal(`https://mintgarden.io/nfts${nft ? `/${nft.encodedId}` : ''}`)"
>https://mintgarden.io/nfts{{ nft ? `/${nft.encodedId}` : '' }}</a
>
</p>
<div class="mt-6" aria-hidden="true">
Expand Down

0 comments on commit 87b7b67

Please sign in to comment.