mirror of
https://github.com/grafana/grafana.git
synced 2025-01-27 00:37:04 -06:00
fix: ensure panel.datasource is null as default
This commit is contained in:
parent
4c4564b138
commit
3dac77468b
@ -41,6 +41,7 @@ class MetricsPanelCtrl extends PanelCtrl {
|
||||
this.timeSrv = $injector.get('timeSrv');
|
||||
this.templateSrv = $injector.get('templateSrv');
|
||||
this.scope = $scope;
|
||||
this.panel.datasource = this.panel.datasource || null;
|
||||
|
||||
if (!this.panel.targets) {
|
||||
this.panel.targets = [{}];
|
||||
|
@ -45,8 +45,8 @@ module.exports = merge(common, {
|
||||
names: ['vendor', 'manifest'],
|
||||
}),
|
||||
new WebpackCleanupPlugin(),
|
||||
new BundleAnalyzerPlugin({
|
||||
analyzerPort: 8889
|
||||
})
|
||||
// new BundleAnalyzerPlugin({
|
||||
// analyzerPort: 8889
|
||||
// })
|
||||
]
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user