Commit 3dac7746 by Torkel Ödegaard

fix: ensure panel.datasource is null as default

parent 4c4564b1
......@@ -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
// })
]
});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment