From 569c639cd57dc4f3966cfcb4e73ddb564c3027ec Mon Sep 17 00:00:00 2001 From: Clement Sam Date: Thu, 4 May 2023 10:29:28 +0000 Subject: [PATCH] web/storagenode: hide payout rates when no specific satellite is selected We should not display payout rates when "All Satellites" option is selected since some of the satellites may have different payout rates. Updates https://github.com/storj/storj-private/issues/245 Change-Id: I66cadf85aa8b57681ffbeac75c4ad97f8b057676 --- .../components/payments/EstimationArea.vue | 4 +-- .../__snapshots__/EstimationArea.spec.ts.snap | 32 +++++++++---------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/web/storagenode/src/app/components/payments/EstimationArea.vue b/web/storagenode/src/app/components/payments/EstimationArea.vue index c06950de2..86cfb10d3 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 }}

diff --git a/web/storagenode/tests/unit/components/payments/__snapshots__/EstimationArea.spec.ts.snap b/web/storagenode/tests/unit/components/payments/__snapshots__/EstimationArea.spec.ts.snap index 4400a30cf..290e3bfed 100644 --- a/web/storagenode/tests/unit/components/payments/__snapshots__/EstimationArea.spec.ts.snap +++ b/web/storagenode/tests/unit/components/payments/__snapshots__/EstimationArea.spec.ts.snap @@ -25,7 +25,7 @@ exports[`EstimationArea renders correctly with actual values and current period

Type

-

Price

+

Disk

@@ -45,7 +45,7 @@ exports[`EstimationArea renders correctly with actual values and current period

Egress

-

$20 / TB

+

--

@@ -65,7 +65,7 @@ exports[`EstimationArea renders correctly with actual values and current period

Egress

-

$10 / TB

+

--

@@ -85,7 +85,7 @@ exports[`EstimationArea renders correctly with actual values and current period

Storage

-

$1.5 / TBm

+

500MBm

@@ -163,7 +163,7 @@ exports[`EstimationArea renders correctly with actual values and current period

Type

-

Price

+

Disk

@@ -183,7 +183,7 @@ exports[`EstimationArea renders correctly with actual values and current period

Egress

-

$20 / TB

+

--

@@ -203,7 +203,7 @@ exports[`EstimationArea renders correctly with actual values and current period

Egress

-

$10 / TB

+

--

@@ -223,7 +223,7 @@ exports[`EstimationArea renders correctly with actual values and current period

Storage

-

$1.5 / TBm

+

50MBm

@@ -309,7 +309,7 @@ exports[`EstimationArea renders correctly with actual values and historical peri

Type

-

Price

+

Disk

@@ -329,7 +329,7 @@ exports[`EstimationArea renders correctly with actual values and historical peri

Egress

-

$20 / TB

+

--

@@ -349,7 +349,7 @@ exports[`EstimationArea renders correctly with actual values and historical peri

Egress

-

$10 / TB

+

--

@@ -369,7 +369,7 @@ exports[`EstimationArea renders correctly with actual values and historical peri

Storage

-

$1.5 / TBm

+

0Bm

@@ -489,7 +489,7 @@ exports[`EstimationArea renders correctly with actual values and previous period

Type

-

Price

+

Disk

@@ -509,7 +509,7 @@ exports[`EstimationArea renders correctly with actual values and previous period

Egress

-

$20 / TB

+

--

@@ -529,7 +529,7 @@ exports[`EstimationArea renders correctly with actual values and previous period

Egress

-

$10 / TB

+

--

@@ -549,7 +549,7 @@ exports[`EstimationArea renders correctly with actual values and previous period

Storage

-

$1.5 / TBm

+

500MBm