mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore/Tech debt: Remove (most) instances of $q angular service use (#20668)
* Chore/Tech debt: Remove (most) instances of $q angular service use Removes instances where the angular $q service is used and replaces it with native Promises.
This commit is contained in:
@@ -31,8 +31,8 @@ const setup = () => {
|
||||
),
|
||||
]);
|
||||
|
||||
const datasource = new CloudWatchDatasource(instanceSettings, {} as any, {} as any, templateSrv as any, {} as any);
|
||||
datasource.metricFindQuery = async param => [{ value: 'test', label: 'test' }];
|
||||
const datasource = new CloudWatchDatasource(instanceSettings, {} as any, templateSrv as any, {} as any);
|
||||
datasource.metricFindQuery = async () => [{ value: 'test', label: 'test' }];
|
||||
|
||||
const props: Props = {
|
||||
query: {
|
||||
|
||||
Reference in New Issue
Block a user