mirror of
https://github.com/grafana/grafana.git
synced 2026-07-30 00:08:10 -05:00
Fix Queryfield metrics field missing
This commit is contained in:
@@ -135,7 +135,7 @@ class QueryField extends React.Component<any, any> {
|
||||
if (!this.state.metrics) {
|
||||
return;
|
||||
}
|
||||
setPrismTokens(this.props.language, 'metrics', this.state.metrics);
|
||||
setPrismTokens(this.props.prismLanguage, 'metrics', this.state.metrics);
|
||||
|
||||
// Trigger re-render
|
||||
window.requestAnimationFrame(() => {
|
||||
|
||||
Reference in New Issue
Block a user