Skip to content

Commit

Permalink
Merge pull request #4848 from HSLdevcom/no-viro-kela
Browse files Browse the repository at this point in the history
Remove viro options from kela config
  • Loading branch information
optionsome authored Aug 15, 2023
2 parents fe6c502 + 34b2dda commit 7e1ffaf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions app/configurations/config.kela.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ export default configMerger(matkaConfig, {
show: false,
},
showEmbeddedSearch: false,
countrySelection: [],
},
showNearYouButtons: false,
hideFavourites: true,
Expand Down
5 changes: 2 additions & 3 deletions app/util/configureCountry.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* eslint-disable no-param-reassign */
export const configureCountry = (config, countries) => {
if (config.mainMenu.countrySelection) {
const selectedCountries = countries;
export const configureCountry = (config, selectedCountries) => {
if (config.mainMenu.countrySelection?.length > 0) {
const keys = Object.keys(selectedCountries);
let boundaries = config.additionalSearchParams.default['boundary.country'];
let feedIds = [...config.feedIds];
Expand Down

0 comments on commit 7e1ffaf

Please sign in to comment.