From 5977357a60652f45ffb67635b1aa2330a78f7a1f Mon Sep 17 00:00:00 2001 From: Clement Sam Date: Fri, 5 May 2023 20:31:04 +0000 Subject: [PATCH] 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 --- .../src/app/components/payments/EstimationArea.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/web/storagenode/src/app/components/payments/EstimationArea.vue b/web/storagenode/src/app/components/payments/EstimationArea.vue index 86cfb10d3..040554d58 100644 --- a/web/storagenode/src/app/components/payments/EstimationArea.vue +++ b/web/storagenode/src/app/components/payments/EstimationArea.vue @@ -36,7 +36,7 @@

Type

-

Price

+

Price

Disk

@@ -56,7 +56,7 @@

{{ item.type }}

-

{{ item.price }}

+

{{ item.price }}

{{ item.disk }}

@@ -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), ]; }