mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-24 00:54:03 +02:00
Fix issue where entity issues UI could show stale issues
This commit is contained in:
@@ -13,13 +13,15 @@ export function uiEntityIssues(context) {
|
||||
var _expanded = 0;
|
||||
var _entityID;
|
||||
|
||||
|
||||
// Listen for validation reload even though the entity editor is reloaded on
|
||||
// every graph change since the graph change event may happen before the issue
|
||||
// cache is refreshed
|
||||
context.validator().on('reload.entity_issues', function() {
|
||||
|
||||
update();
|
||||
|
||||
_selection.selectAll('.entity-issues')
|
||||
_selection.selectAll('.disclosure-wrap-entity_issues')
|
||||
.call(render);
|
||||
|
||||
update();
|
||||
});
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user