mirror of
https://github.com/nasa/openmct.git
synced 2025-05-02 08:43:17 +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'
|
group: 'view'
|
||||||
};
|
};
|
||||||
let exportMarkedRows = {
|
let exportMarkedDataAsCSV = {
|
||||||
name: 'Export Marked Rows',
|
name: 'Export Marked Rows',
|
||||||
key: 'export-csv-marked',
|
key: 'export-csv-marked',
|
||||||
description: "Export marked rows as CSV",
|
description: "Export marked rows as CSV",
|
||||||
cssClass: 'icon-download labeled',
|
cssClass: 'icon-download labeled',
|
||||||
invoke: (objectPath, viewProvider) => {
|
invoke: (objectPath, viewProvider) => {
|
||||||
viewProvider.getViewContext().exportMarkedRows();
|
viewProvider.getViewContext().exportMarkedDataAsCSV();
|
||||||
},
|
},
|
||||||
group: 'view'
|
group: 'view'
|
||||||
};
|
};
|
||||||
@ -98,7 +98,7 @@ let autosizeColumns = {
|
|||||||
|
|
||||||
let viewActions = [
|
let viewActions = [
|
||||||
exportCSV,
|
exportCSV,
|
||||||
exportMarkedRows,
|
exportMarkedDataAsCSV,
|
||||||
unmarkAllRows,
|
unmarkAllRows,
|
||||||
pause,
|
pause,
|
||||||
play,
|
play,
|
||||||
|
@ -960,7 +960,7 @@ export default {
|
|||||||
return {
|
return {
|
||||||
type: 'telemetry-table',
|
type: 'telemetry-table',
|
||||||
exportAllDataAsCSV: this.exportAllDataAsCSV,
|
exportAllDataAsCSV: this.exportAllDataAsCSV,
|
||||||
exportMarkedRows: this.exportMarkedRows,
|
exportMarkedDataAsCSV: this.exportMarkedDataAsCSV,
|
||||||
unmarkAllRows: this.unmarkAllRows,
|
unmarkAllRows: this.unmarkAllRows,
|
||||||
togglePauseByButton: this.togglePauseByButton,
|
togglePauseByButton: this.togglePauseByButton,
|
||||||
expandColumns: this.recalculateColumnWidths,
|
expandColumns: this.recalculateColumnWidths,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user