|
|
|
@ -34,7 +34,6 @@ import { |
|
|
|
|
import { DataSourceRef } from '@grafana/schema'; |
|
|
|
|
import { AppChrome } from 'app/core/components/AppChrome/AppChrome'; |
|
|
|
|
import { GrafanaContext } from 'app/core/context/GrafanaContext'; |
|
|
|
|
import { t } from 'app/core/internationalization'; |
|
|
|
|
import { GrafanaRoute } from 'app/core/navigation/GrafanaRoute'; |
|
|
|
|
import { Echo } from 'app/core/services/echo/Echo'; |
|
|
|
|
import { setLastUsedDatasourceUID } from 'app/core/utils/explore'; |
|
|
|
@ -291,11 +290,9 @@ export function makeDatasourceSetup({ |
|
|
|
|
components: { |
|
|
|
|
QueryEditor(props: QueryEditorProps<LokiDatasource, LokiQuery>) { |
|
|
|
|
return ( |
|
|
|
|
// don't need translations, this is a test helper
|
|
|
|
|
// eslint-disable-next-line @grafana/no-untranslated-strings
|
|
|
|
|
<div> |
|
|
|
|
<input |
|
|
|
|
aria-label={t('explore.make-datasource-setup.aria-label-query', 'query')} |
|
|
|
|
aria-label="query" |
|
|
|
|
defaultValue={props.query.expr} |
|
|
|
|
onChange={(event) => { |
|
|
|
|
props.onChange({ ...props.query, expr: event.target.value }); |
|
|
|
|