Add thread dots to note header icon, disable comments on closed nodes

This commit is contained in:
Bryan Housel
2018-07-16 16:39:40 -04:00
parent 47de7b304f
commit 694cc60893
4 changed files with 28 additions and 3 deletions
+1 -1
View File
@@ -101,7 +101,7 @@ export function svgNotes(projection, context, dispatch) {
.attr('xlink:href', '#iD-icon-note');
// add dots if there's a comment thread
notesEnter.selectAll('.thread')
notesEnter.selectAll('.note-annotation')
.data(function(d) { return d.comments.length > 1 ? [0] : []; })
.enter()
.append('use')