From bbe6ab509639c6f3ddffe0715e95ce52aad3fb4c Mon Sep 17 00:00:00 2001 From: David Kaltschmidt Date: Thu, 14 Jun 2018 10:31:09 +0100 Subject: [PATCH] Fix Queryfield metrics field missing --- public/app/containers/Explore/QueryField.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/containers/Explore/QueryField.tsx b/public/app/containers/Explore/QueryField.tsx index bbfbb067d0b..bedb955b9b9 100644 --- a/public/app/containers/Explore/QueryField.tsx +++ b/public/app/containers/Explore/QueryField.tsx @@ -135,7 +135,7 @@ class QueryField extends React.Component { 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(() => {