mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
DataLinks: Removes getDataSourceSettingsByUid from applyFieldOverrides (#29447)
* DataLinks: Removes getDataSourceSettingsByUid from applyFieldOverrides and data linking code * Fixed test * Fixed a few tests * Fixed unit tests * Removed old getDataSourceSettingsByUid from interface, still there for runtime backward compatability
This commit is contained in:
@@ -23,7 +23,6 @@ import { GetDataOptions } from '../../../query/state/PanelQueryRunner';
|
||||
import { QueryOperationRow } from 'app/core/components/QueryOperationRow/QueryOperationRow';
|
||||
import { PanelModel } from 'app/features/dashboard/state';
|
||||
import { DetailText } from './DetailText';
|
||||
import { getDatasourceSrv } from '../../../plugins/datasource_srv';
|
||||
|
||||
interface Props {
|
||||
panel: PanelModel;
|
||||
@@ -125,7 +124,6 @@ export class InspectDataTab extends PureComponent<Props, State> {
|
||||
replaceVariables: (value: string) => {
|
||||
return value;
|
||||
},
|
||||
getDataSourceSettingsByUid: getDatasourceSrv().getDataSourceSettingsByUid,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user