mirror of
https://github.com/grafana/grafana.git
synced 2024-11-26 02:40:26 -06:00
SSE: Add constant for data source name (#48443)
* add property for expressions datasource name * remove console log
This commit is contained in:
parent
bde368be55
commit
69ee917c89
@ -34,6 +34,7 @@ import { BackendDataSourceResponse, toDataQueryResponse } from './queryResponse'
|
||||
export const ExpressionDatasourceRef = Object.freeze({
|
||||
type: '__expr__',
|
||||
uid: '__expr__',
|
||||
name: 'Expression',
|
||||
});
|
||||
|
||||
/**
|
||||
|
@ -69,7 +69,7 @@ export const ExpressionDatasourceUID = '-100';
|
||||
export const instanceSettings: DataSourceInstanceSettings = {
|
||||
id: -100,
|
||||
uid: ExpressionDatasourceUID,
|
||||
name: ExpressionDatasourceRef.type,
|
||||
name: ExpressionDatasourceRef.name,
|
||||
type: ExpressionDatasourceRef.type,
|
||||
access: 'proxy',
|
||||
meta: {
|
||||
|
Loading…
Reference in New Issue
Block a user