Skip to content
This repository has been archived by the owner on Feb 1, 2023. It is now read-only.

Commit

Permalink
fixed report to work with no headers possibility
Browse files Browse the repository at this point in the history
  • Loading branch information
roll committed May 31, 2017
1 parent 7235d45 commit 69228e6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions frontend/components/ReportTable.vue
Expand Up @@ -35,8 +35,9 @@ export default {
// Create row
if (!row) {
let values = error.row
if (!error['row-number']) values = this.table.headers
if (error.code === 'blank-row') values = this.table.headers.map(() => '')
if (!error['row-number']) {
values = this.table.headers
}
row = {
values,
badcols: new Set(),
Expand Down

0 comments on commit 69228e6

Please sign in to comment.