Skip to content

Commit

Permalink
fixed syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
aaron-lockwood144 committed Apr 12, 2024
1 parent 768dfa0 commit 025fbde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/js/spatial/geo.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export async function getCurrentRoad(locationProvider){
.filter(
f => f.feature_type == "highway" &&
f.geometry.type == "LineString" &&
f.feature_value in ["primary", "residential", "tertiary"]
["primary", "residential", "tertiary"].includes(f.feature_value)
);
return reduced;
});
Expand Down

0 comments on commit 025fbde

Please sign in to comment.