Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -359,4 +359,5 @@ upload-api/cmsMigrationData
upload-api/extracted_files
*copy*
.qodo
.vscode
.vscode
app.json
3 changes: 2 additions & 1 deletion api/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -366,4 +366,5 @@ database/
/cmsMigrationData
/migration-data
**/copy*
**copy.ts
**copy.ts
manifest.json
10 changes: 6 additions & 4 deletions ui/src/components/ContentMapper/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -858,10 +858,12 @@ const ContentMapper = forwardRef(({ handleStepChange }: contentMapperProps, ref:
setIsDropDownChanged(checkBoxChanged);
const newTableData = tableData?.map?.((row: any) => {
if (row?.uid === rowId && row?.contentstackFieldUid === rowContentstackFieldUid) {
if (row?.referenceTo) {
row.referenceTo = updatedSettings?.referenedItems;
}
return { ...row, advanced: { ...row?.advanced, ...updatedSettings } };
const updatedRow = {
...row,
referenceTo: updatedSettings?.referenedItems,
advanced: { ...row?.advanced, ...updatedSettings }
};
return updatedRow;
}
return row;
});
Expand Down