Skip to content

Commit

Permalink
Fix chaining
Browse files Browse the repository at this point in the history
  • Loading branch information
markpadbe committed Jun 5, 2024
1 parent c3b1675 commit 06d62a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/features/personalization/personalization.js
Original file line number Diff line number Diff line change
Expand Up @@ -559,8 +559,8 @@ const checkForParamMatch = (paramStr) => {

async function getPersonalizationVariant(manifestPath, variantNames = [], variantLabel = null) {
const config = getConfig();
if (config.mep?.variantOverride && config.mep?.variantOverride[manifestPath]) {
return config.mep?.variantOverride[manifestPath];
if (config.mep?.variantOverride[manifestPath]) {
return config.mep.variantOverride[manifestPath];
}

const variantInfo = variantNames.reduce((acc, name) => {
Expand Down

0 comments on commit 06d62a1

Please sign in to comment.