mirror of
https://github.com/grafana/grafana.git
synced 2024-11-24 09:50:29 -06:00
parent
f2066398f0
commit
1953d473c0
@ -389,7 +389,7 @@ func extractNumberSet(frame *data.Frame) ([]mathexp.Number, error) {
|
||||
labels[key] = val.(string) // TODO check assertion / return error
|
||||
}
|
||||
|
||||
n := mathexp.NewNumber("", labels)
|
||||
n := mathexp.NewNumber(frame.Fields[numericField].Name, labels)
|
||||
|
||||
// The new value fields' configs gets pointed to the one in the original frame
|
||||
n.Frame.Fields[0].Config = frame.Fields[numericField].Config
|
||||
|
Loading…
Reference in New Issue
Block a user