mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
ValuMapping: start with some values (#18092)
This commit is contained in:
committed by
Torkel Ödegaard
parent
1e058424b0
commit
7388a4fb74
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user