From 34b2dda0ecf1d5bdba8202cb95cd0fbae41eff6d Mon Sep 17 00:00:00 2001 From: Vesa Meskanen Date: Tue, 15 Aug 2023 10:40:24 +0300 Subject: [PATCH] Update app/util/configureCountry.js Co-authored-by: Joel Lappalainen --- app/util/configureCountry.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/util/configureCountry.js b/app/util/configureCountry.js index 3a712a9d3e..1cdc7de180 100644 --- a/app/util/configureCountry.js +++ b/app/util/configureCountry.js @@ -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];