Skip to content

Commit

Permalink
feat: change parenthesis
Browse files Browse the repository at this point in the history
  • Loading branch information
MAudelGisaia committed Jan 24, 2025
1 parent eb22950 commit 941a82d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/services/collection-service/tools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export function toGeoOptionsObs(collectionFieldsObs: Observable<Array<Collection
return toOptionsObs(collectionFieldsObs
.pipe(map(
fields => fields
.filter(f => f.type === typeEnum.GEOPOINT || (f.type === typeEnum.GEOSHAPE) && enableGeoShape))));
.filter(f => f.type === typeEnum.GEOPOINT || (f.type === typeEnum.GEOSHAPE && enableGeoShape)))));
}
export function toGeoPointOptionsObs(collectionFieldsObs: Observable<Array<CollectionField>>) {
return toOptionsObs(collectionFieldsObs.pipe(map(
Expand Down

0 comments on commit 941a82d

Please sign in to comment.