@dpc-sdp/myvic-areasearch
Advanced tools
Comparing version 2.2.0 to 2.2.1
@@ -6,2 +6,14 @@ # Change Log | ||
## [2.2.1](https://github.com/dpc-sdp/myvictoria-vic-gov-au/tree/master/packages/AreaSearch/compare/v2.2.0...v2.2.1) (2021-08-16) | ||
### Bug Fixes | ||
* covid designer updates ([#177](https://github.com/dpc-sdp/myvictoria-vic-gov-au/tree/master/packages/AreaSearch/issues/177)) ([6e4898f](https://github.com/dpc-sdp/myvictoria-vic-gov-au/tree/master/packages/AreaSearch/commit/6e4898f2355966bdb394181b7d82bf953a3ba4b2)) | ||
# [2.2.0](https://github.com/dpc-sdp/myvictoria-vic-gov-au/tree/master/packages/AreaSearch/compare/v2.1.0...v2.2.0) (2021-08-06) | ||
@@ -8,0 +20,0 @@ |
{ | ||
"name": "@dpc-sdp/myvic-areasearch", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"description": "An area search component.", | ||
@@ -13,6 +13,6 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@dpc-sdp/myvic-autocomplete": "2.2.0", | ||
"@dpc-sdp/myvic-autocomplete": "2.2.1", | ||
"axios": "^0.21.1" | ||
}, | ||
"gitHead": "9918d72780bbccf7b1379464d7a0fc21fc0907b8" | ||
"gitHead": "16507a3c27715dc4ed8483e03d91be74db35bb17" | ||
} |
@@ -12,2 +12,11 @@ import axios from 'axios' | ||
const patchAreas = (areas) => { | ||
areas.forEach(x => { | ||
if (x.name === 'Rosebud West') { | ||
x.name = 'Capel Sound' | ||
} | ||
}) | ||
return areas | ||
} | ||
export const getAreas = async (noLgaOrRegion) => { | ||
@@ -26,3 +35,3 @@ const rawData = await fetchData() | ||
} | ||
return areas | ||
return patchAreas(areas) | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28003
50
+ Added@dpc-sdp/myvic-autocomplete@2.2.1(transitive)
+ Added@dpc-sdp/myvic-global@2.2.1(transitive)
- Removed@dpc-sdp/myvic-autocomplete@2.2.0(transitive)
- Removed@dpc-sdp/myvic-global@2.2.0(transitive)