Fix deduplication in email content not always working
This commit is contained in:
parent
3eb5dc6f9d
commit
dbfc57126c
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user