catch 0 third parties

This commit is contained in:
soulgalore 2020-03-13 09:26:05 +01:00
parent 3086b8bbdd
commit 0df4a18c55
2 changed files with 2 additions and 2 deletions

View File

@ -83,7 +83,7 @@ class Aggregator {
this.urls[url],
this.groups[group],
['thirdPartyTransferPerPage'],
data.thirdPartyTransferPerPage
data.thirdPartyTransferPerPage || 0
);
}

View File

@ -26,7 +26,7 @@ if (sustainable.hostingInfo)
- const totalCO2 = sustainable.totalCO2.median || sustainable.totalCO2
- const totalTransfer = sustainable.totalTransfer.median || sustainable.totalTransfer
- const firstPartyTransferPerPage = sustainable.firstPartyTransferPerPage.median || sustainable.firstPartyTransferPerPage
- const thirdPartyTransferPerPage = sustainable.thirdPartyTransferPerPage.median || sustainable.thirdPartyTransferPerPage
- const thirdPartyTransferPerPage = sustainable.thirdPartyTransferPerPage === undefined ? 0 : sustainable.thirdPartyTransferPerPage.median || sustainable.thirdPartyTransferPerPage
table
tr