web/storagenode: hide payout rates for historical payout data
This is a temporal fix to buy us some time while we fix the issues. We may revert later or maybe override with a later commit. Updates https://github.com/storj/storj-private/issues/245 Change-Id: I27b2b6811d24d5948161553bf889fe45af013925
This commit is contained in:
parent
36e046375c
commit
5977357a60
@ -36,7 +36,7 @@
|
||||
<p class="estimation-table-container__labels-area__text">Type</p>
|
||||
</div>
|
||||
<div class="column justify-start column-3">
|
||||
<p v-if="isSatelliteSelected" class="estimation-table-container__labels-area__text">Price</p>
|
||||
<p v-if="isSatelliteSelected && !isHistoricalPeriod" class="estimation-table-container__labels-area__text">Price</p>
|
||||
</div>
|
||||
<div class="column justify-start column-4">
|
||||
<p class="estimation-table-container__labels-area__text">Disk</p>
|
||||
@ -56,7 +56,7 @@
|
||||
<p class="estimation-table-container__info-area__text">{{ item.type }}</p>
|
||||
</div>
|
||||
<div class="column justify-start column-3">
|
||||
<p v-if="isSatelliteSelected" class="estimation-table-container__info-area__text">{{ item.price }}</p>
|
||||
<p v-if="isSatelliteSelected && !isHistoricalPeriod" class="estimation-table-container__info-area__text">{{ item.price }}</p>
|
||||
</div>
|
||||
<div class="column justify-start column-4">
|
||||
<p class="estimation-table-container__info-area__text">{{ item.disk }}</p>
|
||||
@ -363,9 +363,9 @@ export default class EstimationArea extends Vue {
|
||||
public get tableData(): EstimationTableRow[] {
|
||||
if (this.isHistoricalPeriod) {
|
||||
return [
|
||||
new EstimationTableRow('Download', 'Egress', `$${BANDWIDTH_DOWNLOAD_PRICE_PER_TB / 100} / TB`, '--', Size.toBase10String(this.totalPaystubForPeriod.usageGet), this.totalPaystubForPeriod.compGet),
|
||||
new EstimationTableRow('Repair & Audit', 'Egress', `$${BANDWIDTH_REPAIR_PRICE_PER_TB / 100} / TB`, '--', Size.toBase10String(this.totalPaystubForPeriod.usageGetRepair + this.totalPaystubForPeriod.usageGetAudit), this.totalPaystubForPeriod.compGetRepair + this.totalPaystubForPeriod.compGetAudit),
|
||||
new EstimationTableRow('Disk Average Month', 'Storage', `$${DISK_SPACE_PRICE_PER_TB / 100} / TBm`, Size.toBase10String(this.totalPaystubForPeriod.usageAtRest) + 'm', '--', this.totalPaystubForPeriod.compAtRest),
|
||||
new EstimationTableRow('Download', 'Egress', ``, '--', Size.toBase10String(this.totalPaystubForPeriod.usageGet), this.totalPaystubForPeriod.compGet),
|
||||
new EstimationTableRow('Repair & Audit', 'Egress', ``, '--', Size.toBase10String(this.totalPaystubForPeriod.usageGetRepair + this.totalPaystubForPeriod.usageGetAudit), this.totalPaystubForPeriod.compGetRepair + this.totalPaystubForPeriod.compGetAudit),
|
||||
new EstimationTableRow('Disk Average Month', 'Storage', ``, Size.toBase10String(this.totalPaystubForPeriod.usageAtRest) + 'm', '--', this.totalPaystubForPeriod.compAtRest),
|
||||
];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user