Fix deduplication in email content not always working

This commit is contained in:
Kuba Orlik 2021-11-21 23:14:33 +01:00
parent 3eb5dc6f9d
commit dbfc57126c

View File

@ -37,7 +37,7 @@ export default function DomainSummary({
.sort((markA, markB) => { .sort((markA, markB) => {
if (markA.entry.value > markB.entry.value) { if (markA.entry.value > markB.entry.value) {
return -1; return -1;
} else if (markA.entry.value > markB.entry.value) { } else if (markA.entry.value < markB.entry.value) {
return 1; return 1;
} else { } else {
const indexA = source_priority.indexOf(markA.source); const indexA = source_priority.indexOf(markA.source);