From c3c239d1f73c40e74b7a02027fc78e2b1603aec4 Mon Sep 17 00:00:00 2001 From: Lizzy Thomson Date: Fri, 6 Jan 2023 10:46:02 -0700 Subject: [PATCH] web/satellite: update billing history logic Update billing history logic to exclude empty status invoices Fixes https://github.com/storj/storj/issues/5427 Change-Id: If600f3dbce511b1c427d8fcde577dd145e693bb1 --- .../components/account/billing/billingTabs/BillingHistory.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/satellite/src/components/account/billing/billingTabs/BillingHistory.vue b/web/satellite/src/components/account/billing/billingTabs/BillingHistory.vue index 06f363bae..0388e5ca0 100644 --- a/web/satellite/src/components/account/billing/billingTabs/BillingHistory.vue +++ b/web/satellite/src/components/account/billing/billingTabs/BillingHistory.vue @@ -61,7 +61,7 @@ export default class BillingHistory extends Vue { public get historyItems(): PaymentsHistoryItem[] { return this.$store.state.paymentsModule.paymentsHistory.filter((item: PaymentsHistoryItem) => { - return item.status !== 'draft' && (item.type === PaymentsHistoryItemType.Invoice || item.type === PaymentsHistoryItemType.Charge); + return item.status !== 'draft' && item.status !== '' && (item.type === PaymentsHistoryItemType.Invoice || item.type === PaymentsHistoryItemType.Charge); }); } }