Skip to content

Commit

Permalink
[frontend] set dynamicMappingColumn for each new column
Browse files Browse the repository at this point in the history
  • Loading branch information
CelineSebe committed Nov 19, 2024
1 parent db05f80 commit 62a9411
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ CsvMapperConditionalEntityMappingProps

const handleColumnSelect = async (column: string | null) => {
await setFieldValue(`${representationName}.column_based.column_reference`, column);
if (!dynamicMappingColumn && column) {
if (column) {
setDynamicMappingColumn(column);
}
};
Expand Down

0 comments on commit 62a9411

Please sign in to comment.