We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 97441f8 + dc7f145 commit 884075aCopy full SHA for 884075a
1 file changed
packages/contentstack-variants/src/import/experiences.ts
@@ -185,8 +185,8 @@ export default class Experiences extends PersonalizationAdapter<ImportConfig> {
185
Object.entries(this.experiencesUidMapper).map(async ([oldExpUid, newExpUid]) => {
186
if (experienceCTsMap[oldExpUid]?.length) {
187
// Filter content types that were created
188
- const updatedContentTypes = experienceCTsMap[oldExpUid].filter((ct: string) =>
189
- this.createdCTs.includes(ct),
+ const updatedContentTypes = experienceCTsMap[oldExpUid].filter((ct: any) =>
+ this.createdCTs.includes(ct?.uid),
190
);
191
if (updatedContentTypes?.length) {
192
const { variant_groups: [variantGroup] = [] } =
0 commit comments