ValuMapping: start with some values (#18092)

This commit is contained in:
Ryan McKinley
2019-07-12 11:43:26 -07:00
committed by Torkel Ödegaard
parent 1e058424b0
commit 7388a4fb74

View File

@@ -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,