From 3679fd07498889cb974f46602dace93b3c577445 Mon Sep 17 00:00:00 2001 From: Vivian A Goodrich <101133187+vgoodric@users.noreply.github.com> Date: Wed, 11 Sep 2024 13:39:40 -0600 Subject: [PATCH] REVERT MWPW-157686 [MEP] Cannot spoof an experience that exists in manifest but not in Target #2844 (#2870) revert --- libs/features/personalization/personalization.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/features/personalization/personalization.js b/libs/features/personalization/personalization.js index 091e6ad027..b51101f720 100644 --- a/libs/features/personalization/personalization.js +++ b/libs/features/personalization/personalization.js @@ -894,6 +894,8 @@ export function cleanAndSortManifestList(manifests) { freshManifest = manifestObj[manifest.manifestPath]; } freshManifest.name = fullManifest.name; + freshManifest.selectedVariantName = fullManifest.selectedVariantName; + freshManifest.selectedVariant = freshManifest.variants[freshManifest.selectedVariantName]; manifestObj[manifest.manifestPath] = freshManifest; } else { manifestObj[manifest.manifestPath] = manifest;