mirror of
https://github.com/nasa/openmct.git
synced 2025-03-11 06:54:01 +00:00
fix export marked data as csv (#3563)
This commit is contained in:
parent
9da750c3bb
commit
12727adb16
@ -30,13 +30,13 @@ let exportCSV = {
|
||||
},
|
||||
group: 'view'
|
||||
};
|
||||
let exportMarkedRows = {
|
||||
let exportMarkedDataAsCSV = {
|
||||
name: 'Export Marked Rows',
|
||||
key: 'export-csv-marked',
|
||||
description: "Export marked rows as CSV",
|
||||
cssClass: 'icon-download labeled',
|
||||
invoke: (objectPath, viewProvider) => {
|
||||
viewProvider.getViewContext().exportMarkedRows();
|
||||
viewProvider.getViewContext().exportMarkedDataAsCSV();
|
||||
},
|
||||
group: 'view'
|
||||
};
|
||||
@ -98,7 +98,7 @@ let autosizeColumns = {
|
||||
|
||||
let viewActions = [
|
||||
exportCSV,
|
||||
exportMarkedRows,
|
||||
exportMarkedDataAsCSV,
|
||||
unmarkAllRows,
|
||||
pause,
|
||||
play,
|
||||
|
@ -960,7 +960,7 @@ export default {
|
||||
return {
|
||||
type: 'telemetry-table',
|
||||
exportAllDataAsCSV: this.exportAllDataAsCSV,
|
||||
exportMarkedRows: this.exportMarkedRows,
|
||||
exportMarkedDataAsCSV: this.exportMarkedDataAsCSV,
|
||||
unmarkAllRows: this.unmarkAllRows,
|
||||
togglePauseByButton: this.togglePauseByButton,
|
||||
expandColumns: this.recalculateColumnWidths,
|
||||
|
Loading…
x
Reference in New Issue
Block a user