Commit 7388a4fb by Ryan McKinley Committed by Torkel Ödegaard

ValuMapping: start with some values (#18092)

parent 1e058424
......@@ -18,7 +18,7 @@ export class ValueMappingsEditor extends PureComponent<Props, State> {
constructor(props: Props) {
super(props);
const mappings = props.valueMappings;
const mappings = props.valueMappings || [];
this.state = {
valueMappings: mappings,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment