mirror of
https://github.com/Qortal/qortal-ui.git
synced 2025-07-31 14:11:45 +00:00
added fee to modal
This commit is contained in:
@@ -24,6 +24,9 @@ export default class CreatePollTransaction extends TransactionBase {
|
||||
<span style="color: #000;">${this._pollOptions.join(', ')}</span>
|
||||
</div>
|
||||
${this._votedialog6}
|
||||
<div style="margin-top: 10px; font-weight: bold">
|
||||
${this._feeDialog}: ${this._feeDisplay}
|
||||
</div>
|
||||
`
|
||||
}
|
||||
|
||||
@@ -33,6 +36,10 @@ export default class CreatePollTransaction extends TransactionBase {
|
||||
this._options.push({ length: optionLength, bytes: optionBytes });
|
||||
}
|
||||
|
||||
set feeDialog(feeDialog){
|
||||
this._feeDialog = feeDialog
|
||||
}
|
||||
|
||||
set votedialog3(votedialog3) {
|
||||
this._votedialog3 = votedialog3
|
||||
}
|
||||
@@ -48,6 +55,7 @@ export default class CreatePollTransaction extends TransactionBase {
|
||||
}
|
||||
|
||||
set fee(fee) {
|
||||
this._feeDisplay = fee
|
||||
this._fee = fee * QORT_DECIMALS
|
||||
this._feeBytes = this.constructor.utils.int64ToBytes(this._fee)
|
||||
}
|
||||
|
@@ -15,9 +15,16 @@ export default class VoteOnPollTransaction extends TransactionBase {
|
||||
<span style="color: #000;">${this._rPollName}</span>
|
||||
</div>
|
||||
${this._votedialog2}
|
||||
<div style="margin-top: 10px; font-weight: bold">
|
||||
${this._feeDialog}: ${this._feeDisplay}
|
||||
</div>
|
||||
`
|
||||
}
|
||||
|
||||
set feeDialog(feeDialog){
|
||||
this._feeDialog = feeDialog
|
||||
}
|
||||
|
||||
set votedialog1(votedialog1) {
|
||||
this._votedialog1 = votedialog1
|
||||
}
|
||||
@@ -27,6 +34,7 @@ export default class VoteOnPollTransaction extends TransactionBase {
|
||||
}
|
||||
|
||||
set fee(fee) {
|
||||
this._feeDisplay = fee
|
||||
this._fee = fee * QORT_DECIMALS
|
||||
this._feeBytes = this.constructor.utils.int64ToBytes(this._fee)
|
||||
}
|
||||
|
Reference in New Issue
Block a user