Stackdriver: Fix creating Label Values datasource query variable (#25633)
(cherry picked from commit e6a5e88054)
This commit is contained in:
committed by
Dominik Prokop
parent
3fb267fe72
commit
4f58ca11da
@@ -140,7 +140,7 @@ export class StackdriverVariableQueryEditor extends PureComponent<VariableQueryP
|
||||
}
|
||||
|
||||
onLabelKeyChange(labelKey: string) {
|
||||
this.setState({ labelKey });
|
||||
this.setState({ labelKey }, () => this.onPropsChange());
|
||||
}
|
||||
|
||||
componentDidUpdate(prevProps: Readonly<VariableQueryProps>, prevState: Readonly<VariableQueryData>) {
|
||||
|
||||
Reference in New Issue
Block a user