mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 17:23:02 +00:00
Don't show the entity_issues section if there are no issues
(I think it worked this way before)
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user