Chore: theme linting

This commit is contained in:
Pieter Vander Vennet 2025-01-11 02:43:11 +01:00
parent 35cbaa7c33
commit 2476a2adb7
3 changed files with 15 additions and 14 deletions

View file

@ -446,4 +446,4 @@
}
],
"allowMove": false
}
}

View file

@ -27,8 +27,8 @@
"_first_user_id:=get(feat)('comments')[0].uid",
"_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",
"minzoom": 7,
"title": {
"render": {
"en": "Note",