Explore: Fix interpolation of error message (#20301)

(cherry picked from commit a08c2c43db)
This commit is contained in:
Andrej Ocenas
2019-11-14 08:33:19 -05:00
committed by Kyle Brandt
parent d6f352cdf5
commit 4647c48427
@@ -77,7 +77,7 @@ class ElasticsearchQueryField extends React.PureComponent<Props, State> {
/>
</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}
</>
);
}