Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
PClmnt committed Mar 16, 2022
1 parent 96ea66f commit 43f7d16
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion packages/client/src/utils/buttonActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,6 @@ const s3UploadHandler = async action => {
}
}


const exportDataHandler = async action => {
let selection = rowSelectionStore.actions.getSelection(
action.parameters.tableComponentId
Expand Down
2 changes: 1 addition & 1 deletion packages/server/src/api/controllers/row/external.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ exports.exportRows = async ctx => {
let headers = Object.keys(result.rows[0])
const exporter = exporters[format]
const filename = `export.${format}`

// send down the file
ctx.attachment(filename)
return apiFileReturn(exporter(headers, result.rows))
Expand Down
4 changes: 2 additions & 2 deletions packages/server/src/api/controllers/row/internal.js
Original file line number Diff line number Diff line change
Expand Up @@ -377,11 +377,11 @@ exports.exportRows = async ctx => {
).rows.map(row => row.doc)

let rows = await outputProcessing(table, response)

let headers = Object.keys(rows[0])
const exporter = exporters[format]
const filename = `export.${format}`

// send down the file
ctx.attachment(filename)
return apiFileReturn(exporter(headers, rows))
Expand Down

0 comments on commit 43f7d16

Please sign in to comment.