Fix issue where entity issues UI could show stale issues

This commit is contained in:
Quincy Morgan
2019-02-15 12:52:09 -05:00
parent b57e5a75b8
commit 6cb4359d13
2 changed files with 10 additions and 6 deletions
+6 -4
View File
@@ -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();
});