1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-06-05 21:59:22 +02:00

fix: issue with ENUM and SET fields on table filler modal

This commit is contained in:
2021-05-13 20:46:44 +02:00
parent 7a62131cc7
commit 475397ca34
3 changed files with 29 additions and 4 deletions

View File

@@ -1341,7 +1341,7 @@ export class MySQLClient extends AntaresCore {
remappedFields = remappedFields.map(field => {
const detailedField = response.find(f => f.name === field.name);
if (detailedField && field.orgTable === paramObj.table && field.schema === paramObj.schema)
field = { ...detailedField, ...field };
field = { ...field, ...detailedField };
return field;
});
}