mirror of
https://github.com/nasa/openmct.git
synced 2025-06-21 08:39:59 +00:00
[Table] Test CSV Export behavior
This commit is contained in:
@ -47,7 +47,7 @@ define(
|
||||
setDefaults($scope);
|
||||
|
||||
$scope.exportAsCSV = function () {
|
||||
var headers = $scope.headers;
|
||||
var headers = $scope.displayHeaders;
|
||||
exportService.exportCSV($scope.displayRows.map(function (row) {
|
||||
return headers.reduce(function (r, header) {
|
||||
r[header] = row[header].text;
|
||||
|
Reference in New Issue
Block a user