Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions packages/map-template/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.96.21] - 2026-03-31

### Fixed

- `searchExternalLocations` can be now also set via App Config.

## [1.96.20] - 2026-03-27

### Fixed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -709,8 +709,10 @@ function MapTemplate({ apiKey, gmApiKey, mapboxAccessToken, venue, locationId, p
* React on changes to the searchExternalLocations prop.
*/
useEffect(() => {
setSearchExternalLocations(searchExternalLocations);
}, [searchExternalLocations]);
const externalLocationsConfig = appConfig?.appSettings?.searchExternalLocations;
const showExternalLocations = externalLocationsConfig !== undefined ? externalLocationsConfig === 'true' : searchExternalLocations;
setSearchExternalLocations(showExternalLocations);
}, [searchExternalLocations, appConfig]);

/*
* React on changes to the center prop.
Expand Down
Loading