Explore: Fix interpolation of error message (#20301)

This commit is contained in:
Andrej Ocenas
2019-11-11 16:29:11 +01:00
committed by GitHub
parent 6f3f0bf3e0
commit a08c2c43db

View File

@@ -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}
</>
);
}