Skip to content

Commit

Permalink
add additional optional chaining operator
Browse files Browse the repository at this point in the history
Co-authored-by: Vivian A Goodrich <101133187+vgoodric@users.noreply.github.com>
  • Loading branch information
markpadbe and vgoodric committed Jun 11, 2024
1 parent 4a71225 commit 5f3addd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/features/personalization/personalization.js
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ const checkForParamMatch = (paramStr) => {

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

Expand Down

0 comments on commit 5f3addd

Please sign in to comment.