mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Handle errors when loading dashboard with template variables that query data sources that cannot be found
This commit is contained in:
@@ -31,6 +31,10 @@ function (angular, _, kbn) {
|
||||
return backendSrv.get('/api/metrics/test', { from: from, to: to, maxDataPoints: options.maxDataPoints });
|
||||
};
|
||||
|
||||
GrafanaDatasource.prototype.metricFindQuery = function() {
|
||||
return $q.when([]);
|
||||
};
|
||||
|
||||
GrafanaDatasource.prototype.starDashboard = function(dashId) {
|
||||
return backendSrv.post('/api/user/stars/dashboard/' + dashId);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user