mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-19 23:14:47 +02:00
Comment out cache in getIssuesForEntityWithID
It seems like entity editor draws before the validator runs so the rendered list is often one history change behind.
This commit is contained in:
@@ -65,10 +65,10 @@ export function coreValidator(context) {
|
||||
self.getIssuesForEntityWithID = function(entityID) {
|
||||
if (!context.hasEntity(entityID)) return [];
|
||||
|
||||
if (!_issuesByEntityID[entityID]) {
|
||||
// if (!_issuesByEntityID[entityID]) {
|
||||
var entity = context.entity(entityID);
|
||||
_issuesByEntityID[entityID] = validateEntity(entity);
|
||||
}
|
||||
// }
|
||||
return _issuesByEntityID[entityID];
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user