Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
HarelM committed Jan 1, 2025
1 parent 1f54994 commit 9d48872
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IsraelHiking.Web/src/application/services/geojson-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { LatLngAlt } from "../models/models";

export class GeoJSONUtils {
public static setPropertyUnique(feature: GeoJSON.Feature, key: string, value: string) {
let hasValue = Object.keys(feature.properties).filter(k => k.includes(key)).some(k => feature.properties[k] === value);
const hasValue = Object.keys(feature.properties).filter(k => k.includes(key)).some(k => feature.properties[k] === value);
if (!hasValue) {
GeoJSONUtils.setProperty(feature, key, value);
}
Expand Down

0 comments on commit 9d48872

Please sign in to comment.