diff --git a/assets/layers/note/note.json b/assets/layers/note/note.json index 271336a11..b8262f8d4 100644 --- a/assets/layers/note/note.json +++ b/assets/layers/note/note.json @@ -28,6 +28,7 @@ "_is_import_note:=(() => {const lines = feat.properties['_first_comment'].split('\\n'); const matchesMapCompleteURL = lines.map(l => l.match(\".*https://mapcomplete.\\(osm.be|org\\)/\\([a-zA-Z_-]+\\)\\(.html\\).*#import\")); const matchedIndexes = matchesMapCompleteURL.map((doesMatch, i) => [doesMatch !== null, i]).filter(v => v[0]).map(v => v[1]); return matchedIndexes[0] })()" ], "minzoom": 7, + "isShown": "_total_comments>0", "title": { "render": { "en": "Note",