mirror of
https://github.com/grafana/grafana.git
synced 2024-11-26 02:40:26 -06:00
Update variable name
This commit is contained in:
parent
c28b80f2ba
commit
ca186f8b0b
@ -67,9 +67,9 @@ export function MetricSelect({ query, onChange, onGetMetrics }: Props) {
|
||||
}}
|
||||
isLoading={state.isLoading}
|
||||
options={state.metrics}
|
||||
onChange={({ value }) => {
|
||||
if (value) {
|
||||
onChange({ ...query, metric: value });
|
||||
onChange={({ metric }) => {
|
||||
if (metric) {
|
||||
onChange({ ...query, metric });
|
||||
}
|
||||
}}
|
||||
/>
|
||||
|
Loading…
Reference in New Issue
Block a user