Browse Source

added isMinting var

qchat-updates
Phillip Lang Martinez 2 years ago
parent
commit
565bed7b16
  1. 7
      qortal-ui-plugins/plugins/core/become-minter/components/yes-sponsored.src.js

7
qortal-ui-plugins/plugins/core/become-minter/components/yes-sponsored.src.js

@ -19,6 +19,7 @@ class YesSponsored extends LitElement {
return { return {
addressInfo: { type: Object }, addressInfo: { type: Object },
rewardSharePublicKey: { type: String }, rewardSharePublicKey: { type: String },
isMinting: {type: Boolean}
}; };
} }
@ -27,6 +28,7 @@ class YesSponsored extends LitElement {
this.addressInfo = {}; this.addressInfo = {};
this.rewardSharePublicKey = ''; this.rewardSharePublicKey = '';
this.isMinting = false
} }
static styles = [pageStyles]; static styles = [pageStyles];
@ -63,7 +65,12 @@ class YesSponsored extends LitElement {
<hr <hr
style="color: #eee; border-radius: 90%; margin-bottom: 1rem;" style="color: #eee; border-radius: 90%; margin-bottom: 1rem;"
/> />
${this.isMinting ? html`
<h4>${translate('becomeMinterPage.bchange12')}</h4> <h4>${translate('becomeMinterPage.bchange12')}</h4>
` : html`
<h4>${translate('mintingpage.mchange9')}</h4>
`}
</div> </div>
<div class="content-box"> <div class="content-box">
<span class="title" <span class="title"

Loading…
Cancel
Save