mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 01:02:58 +00:00
matchTags- don't do locationsAt if locID is +Q2
This commit is contained in:
@@ -234,7 +234,7 @@ export function presetIndex() {
|
||||
}
|
||||
}
|
||||
|
||||
if (match && match.locationSetID && Array.isArray(loc)){
|
||||
if (match && match.locationSetID && match.locationSetID !== '+[Q2]' && Array.isArray(loc)){
|
||||
validLocations = locationManager.locationsAt(loc);
|
||||
if (!validLocations[match.locationSetID]){
|
||||
matchCandidates.sort((a, b) => (a.score < b.score) ? 1 : -1);
|
||||
|
||||
Reference in New Issue
Block a user