mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Refactor to component based style
This commit is contained in:
committed by
Daniel Lee
parent
f484b4c347
commit
ee0d0155a5
@@ -311,11 +311,10 @@ class GraphCtrl extends MetricsPanelCtrl {
|
||||
}
|
||||
|
||||
exportCsv() {
|
||||
var scope = this.$scope.$new();
|
||||
var scope = this.$scope.$new(true);
|
||||
scope.seriesList = this.seriesList;
|
||||
|
||||
this.publishAppEvent('show-modal', {
|
||||
src: 'public/app/features/dashboard/partials/exportCsvModal.html',
|
||||
templateHtml: '<export-data-modal data="seriesList"></export-data-modal>',
|
||||
scope,
|
||||
modalClass: 'modal--narrow'
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user