Don't show the entity_issues section if there are no issues

(I think it worked this way before)
This commit is contained in:
Bryan Housel
2019-02-13 13:57:46 -05:00
parent c292a32a66
commit 5bca360f50

View File

@@ -41,7 +41,7 @@ export function uiEntityIssues(context) {
function update() {
var issues = context.validator().getIssuesForEntityWithID(_entityID);
_selection.selectAll('.entity-issues')
_selection
.classed('hide', issues.length === 0);
_selection.selectAll('.hide-toggle-entity_issues span')