mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
More types and some refactoring
This commit is contained in:
@@ -183,10 +183,10 @@ class PromQueryField extends React.PureComponent<PromQueryFieldProps, PromQueryF
|
||||
};
|
||||
|
||||
onClickHintFix = () => {
|
||||
// const { hint, onClickHintFix } = this.props;
|
||||
// if (onClickHintFix && hint && hint.fix) {
|
||||
// onClickHintFix(hint.fix.action);
|
||||
// }
|
||||
const { hint, onExecuteHint } = this.props;
|
||||
if (onExecuteHint && hint && hint.fix) {
|
||||
onExecuteHint(hint.fix.action);
|
||||
}
|
||||
};
|
||||
|
||||
onUpdateLanguage = () => {
|
||||
|
||||
Reference in New Issue
Block a user