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
This commit is contained in:
parent
1688e4965b
commit
c3c239d1f7
@ -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);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user