docs: correct Data-Driven Locations in the beta README
Evidence: spikersoft-angular@master projects/spikersoft/src/app/_components/profile/country-map/country-map.component.ts:24 the map still defaults to DEFAULT_AVAILABLE_COUNTRIES. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
c24801b3d9
commit
d75a6abb19
1 file changed
+1
-1
@@ -1820,7 +1820,7 @@ This product includes data from GeoNames ([geonames.org](https://www.geonames.or
|
||||
|
||||
## Data-Driven Locations
|
||||
|
||||
All country/location data is now stored in MongoDB instead of being hardcoded. The `Location` model holds country codes, names, active status, and optional ambassador assignments.
|
||||
Operating locations are stored in MongoDB. The `Location` model holds country codes, names, active status, and optional ambassador assignments. The country map still defaults to a hardcoded list of the same 13 countries until a page passes in the API list.
|
||||
|
||||
**Key changes:**
|
||||
- The `AVAILABLE_COUNTRIES` constant in `country-map.component.ts` is replaced with an `availableCountries` input, allowing dynamic country lists from the API.
|
||||
|
||||
Reference in new issue
Block a user