mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 12:57:29 -08:00
fix(core): RMC boolean value fix (#6397)
This commit is contained in:
parent
cc37f21aa2
commit
28bb797bb0
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue