Compare commits

...

1 Commits

Author SHA1 Message Date
120d97d6a9 fix export marked data as csv 2020-12-01 09:26:55 -08:00
2 changed files with 4 additions and 4 deletions

View File

@ -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,

View File

@ -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,