works: count interesting-for topics like the publications filter
This commit is contained in:
@@ -106,7 +106,7 @@ export class PersonInterestingComponent implements OnInit {
|
||||
});
|
||||
}
|
||||
|
||||
return tags.sort((a, b) => b.count - a.count).slice(0, MAX_TAGS);
|
||||
return tags.slice(0, MAX_TAGS).sort((a, b) => b.count - a.count);
|
||||
});
|
||||
|
||||
readonly legendGroups = computed(() =>
|
||||
|
||||
Reference in New Issue
Block a user