mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
fix(core): RMC boolean value fix (#6397)
This commit is contained in:
@@ -189,7 +189,13 @@ function getFieldDescription(field: ResourceMapperField): string {
|
||||
function getParameterValue(parameterName: string): string | number | boolean | null {
|
||||
const fieldName = parseResourceMapperFieldName(parameterName);
|
||||
if (fieldName && props.paramValue.value) {
|
||||
return props.paramValue.value[fieldName] || '';
|
||||
if (
|
||||
props.paramValue.value[fieldName] === undefined ||
|
||||
props.paramValue.value[fieldName] === null
|
||||
) {
|
||||
return '';
|
||||
}
|
||||
return props.paramValue.value[fieldName];
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user