diff --git a/beat/web/reports/static/reports/app/directives/reportItemView.js b/beat/web/reports/static/reports/app/directives/reportItemView.js index b4ff741631b04ee7b623812d75f8e10d891cb745..5cb7237d2b392d02f043d5479eadc79d77db6649 100644 --- a/beat/web/reports/static/reports/app/directives/reportItemView.js +++ b/beat/web/reports/static/reports/app/directives/reportItemView.js @@ -1725,6 +1725,10 @@ app.directive("buttonexportitem", function() { content_detail["selected_template"] = scope.plots_details[chart_id].data.parameter; } + else if(scope.plots_details[chart_id]["selected_template"] != undefined) + { + content_detail["selected_template"] = scope.plots_details[chart_id]["selected_template"]; + } if(scope.plots_details[chart_id].data.merged != undefined) { content_detail["merged"] = scope.plots_details[chart_id].data.merged;