Skip to content

Commit a208974

Browse files
committed
import templateSrv from @grafana/runtime
1 parent db5a592 commit a208974

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/datasource.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,11 @@ import {
3131
FetchError,
3232
FetchResponse,
3333
getBackendSrv,
34+
getTemplateSrv,
3435
isFetchError,
36+
TemplateSrv,
3537
toDataQueryResponse,
3638
} from '@grafana/runtime';
37-
import { getTemplateSrv, TemplateSrv } from 'app/features/templating/template_srv';
3839
import { cloneDeep, defaults } from 'lodash';
3940
import { forkJoin, lastValueFrom, merge, Observable, of, OperatorFunction, pipe, throwError } from 'rxjs';
4041
import { catchError, filter, map, tap } from 'rxjs/operators';

0 commit comments

Comments
 (0)