Skip to content

Commit

Permalink
Merge pull request #332 from bgeo-gis/search-provider-overridable-label
Browse files Browse the repository at this point in the history
Customizable providers label through theme config.
  • Loading branch information
manisandro authored Sep 3, 2024
2 parents 6cdda7d + d02d3f8 commit e083f9f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions selectors/searchproviders.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ export default (searchProviders) => createSelector(
providerKeys.add(key);
availableProviders[key] = {
...provider,
label: entry.label ?? provider.label,
labelmsgid: entry.labelmsgid ?? provider.labelmsgid,
params: entry.params
};
}
Expand Down

0 comments on commit e083f9f

Please sign in to comment.