Skip to content

Commit 3eefd57

Browse files
committed
Fixed default value for non-static value data
1 parent 48743c7 commit 3eefd57

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

client/app/components/ParameterMappingInput.jsx

+4-1
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,10 @@ export class ParameterMappingListInput extends React.Component {
336336
}
337337

338338
static getDefaultValue(mapping) {
339-
const value = mapping.value || mapping.param.value;
339+
const value = mapping.type === MappingType.StaticValue
340+
? mapping.value || mapping.param.value
341+
: mapping.param.value;
342+
340343
return this.getStringValue(value);
341344
}
342345

0 commit comments

Comments
 (0)