From 2af7138928f554de319f70d3b4eb02b795077e9c Mon Sep 17 00:00:00 2001 From: Kaloyan Raev Date: Thu, 7 May 2020 18:13:51 +0300 Subject: [PATCH] web/satellite: change invoice link title to 'Invoice PDF' Change-Id: I820bb33f4ba88bb732d1c66ba3369ac4eac72f5c --- web/satellite/src/types/payments.ts | 2 +- .../billingHistory/__snapshots__/BillingItem.spec.ts.snap | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/web/satellite/src/types/payments.ts b/web/satellite/src/types/payments.ts index c8f802cc6..a91787a22 100644 --- a/web/satellite/src/types/payments.ts +++ b/web/satellite/src/types/payments.ts @@ -126,7 +126,7 @@ export class BillingHistoryItem { return ''; } - const downloadLabel = this.type === BillingHistoryItemType.Transaction ? 'Checkout' : 'PDF'; + const downloadLabel = this.type === BillingHistoryItemType.Transaction ? 'Checkout' : 'Invoice PDF'; return `${downloadLabel}`; } diff --git a/web/satellite/tests/unit/account/billing/billingHistory/__snapshots__/BillingItem.spec.ts.snap b/web/satellite/tests/unit/account/billing/billingHistory/__snapshots__/BillingItem.spec.ts.snap index 491a0a94b..8b9ecf192 100644 --- a/web/satellite/tests/unit/account/billing/billingHistory/__snapshots__/BillingItem.spec.ts.snap +++ b/web/satellite/tests/unit/account/billing/billingHistory/__snapshots__/BillingItem.spec.ts.snap @@ -14,7 +14,7 @@ exports[`BillingItem renders correctly if charge 1`] = `

-

PDF

+

Invoice PDF

`; @@ -32,7 +32,7 @@ exports[`BillingItem renders correctly if invoice 1`] = `

-

PDF

+

Invoice PDF

`;