We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 394cb95 + 5fc1aee commit 9ebc90dCopy full SHA for 9ebc90d
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