Skip to content

Commit

Permalink
chore: excel formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
dboskovic committed Oct 19, 2023
1 parent e215c59 commit e439a4c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion plugins/export-workbook/src/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,11 @@ export const run = async (
// '0' is not a valid accessible index in a worksheet and '1' is the header row
const cell =
worksheet[
`${alphaColumnDesignations[colIdx]}${rowIdx + 2}`
`${
alphaColumnDesignations[
colIdx + (options?.includeRecordIds ? 1 : 0)
]
}${rowIdx + 2}`
]

cell.c = R.pipe(
Expand All @@ -105,6 +109,7 @@ export const run = async (
t: `[${m.type.toUpperCase()}]: ${m.message}`,
}))
)
cell.c.hidden = true
}
})
)
Expand Down

0 comments on commit e439a4c

Please sign in to comment.