Ensure unshared issues aren't displayed during multiselection even if just one of the features has issues

This commit is contained in:
Quincy Morgan
2020-02-26 18:49:03 -08:00
parent 8c638c40e9
commit f0fe025c55
+1 -4
View File
@@ -192,10 +192,7 @@ export function coreValidator(context) {
// gather the issues that are common to all the entities
var issueIDs = entityIDs.reduce(function(acc, entityID) {
var entityIssueIDs = cache.issuesByEntityID[entityID];
if (!entityIssueIDs) {
return acc;
}
var entityIssueIDs = cache.issuesByEntityID[entityID] || new Set();
if (!acc) {
return new Set(entityIssueIDs);
}