Skip to content

Commit

Permalink
Set empty locations for node without filterIds
Browse files Browse the repository at this point in the history
  • Loading branch information
wkramer committed Apr 22, 2024
1 parent 9a5d1bc commit 87325b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/services/useFilterLocations/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ export function useFilterLocations(
const _filterdIds = toValue(filterIds)
if (_filterdIds.length === 0) {
geojson.value = emptyFeatureCollection
locations.value = convertGeoJsonToFewsPiLocation(geojson.value)
return
}
await loadLocations(_filterdIds)
Expand Down

0 comments on commit 87325b1

Please sign in to comment.