web/storagenode: net total payout displaying fix

Change-Id: I2259e835b6c81d41c4fc64031b09c9edf64be321
This commit is contained in:
NickolaiYurchenko 2020-09-03 18:07:58 +03:00
parent 2cc3c19d55
commit 93898146f0

View File

@ -104,7 +104,7 @@
<p class="estimation-table-container__net-total-area__text">{{ totalPayout | centsToDollars }}</p> <p class="estimation-table-container__net-total-area__text">{{ totalPayout | centsToDollars }}</p>
</div> </div>
</div> </div>
<div class="estimation-table-container__total-area" v-if="!isCurrentPeriod && heldInfo.surgePercent"> <div class="estimation-table-container__total-area" v-if="!isCurrentPeriod && !isLastPeriodWithoutPaystub && heldInfo.surgePercent">
<p class="estimation-table-container__total-area__text">Total + Surge {{ surgePercent }}</p> <p class="estimation-table-container__total-area__text">Total + Surge {{ surgePercent }}</p>
<p class="estimation-table-container__total-area__text">{{ heldInfo.paid | centsToDollars }}</p> <p class="estimation-table-container__total-area__text">{{ heldInfo.paid | centsToDollars }}</p>
</div> </div>
@ -263,7 +263,7 @@ export default class EstimationArea extends Vue {
return this.heldInfo.paid; return this.heldInfo.paid;
} }
return this.heldInfo.paidWithoutSurge; return this.grossTotal;
} }
/** /**