Commit a08c2c43 by Andrej Ocenas Committed by GitHub

Explore: Fix interpolation of error message (#20301)

parent 6f3f0bf3
...@@ -77,7 +77,7 @@ class ElasticsearchQueryField extends React.PureComponent<Props, State> { ...@@ -77,7 +77,7 @@ class ElasticsearchQueryField extends React.PureComponent<Props, State> {
/> />
</div> </div>
</div> </div>
{data && data.error ? <div className="prom-query-field-info text-error"> data.error.message}</div> : null} {data && data.error ? <div className="prom-query-field-info text-error">{data.error.message}</div> : null}
</> </>
); );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment