fix export marked data as csv (#3563)

This commit is contained in:
Deep Tailor 2020-12-01 09:44:17 -08:00 committed by GitHub
parent 9da750c3bb
commit 12727adb16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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,