diff --git a/src/js/popup-fenix.js b/src/js/popup-fenix.js index ecb9ecc41..0cc68f198 100644 --- a/src/js/popup-fenix.js +++ b/src/js/popup-fenix.js @@ -862,8 +862,13 @@ const gotoReport = function() { Array.from(hostnameToSortableTokenMap.keys()).sort(hostnameCompare); for ( const hostname of hostnames ) { const entry = popupData.hostnameDict[hostname]; - if ( entry.counts.blocked.any === 0 ) { continue; } - blockedDetails[hostname] = entry.counts.blocked.any; + const count = entry.counts.blocked.any; + if ( count === 0 ) { continue; } + const domain = entry.domain; + if ( blockedDetails[domain] === undefined ) { + blockedDetails[domain] = 0; + } + blockedDetails[domain] += count; } if ( Object.keys(blockedDetails).length !== 0 ) { popupPanel.blockedDetails = blockedDetails;