Skip to content

Commit

Permalink
Update app/util/configureCountry.js
Browse files Browse the repository at this point in the history
Co-authored-by: Joel Lappalainen <[email protected]>
  • Loading branch information
vesameskanen and optionsome authored Aug 15, 2023
1 parent 503635e commit 34b2dda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/util/configureCountry.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-disable no-param-reassign */
export const configureCountry = (config, selectedCountries) => {
if (config.mainMenu.countrySelection?.length) {
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 34b2dda

Please sign in to comment.