mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 21:48:20 +02:00
Ensure unshared issues aren't displayed during multiselection even if just one of the features has issues
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user