From b2fe286728590dc6694718323fd4cb60ec87763b Mon Sep 17 00:00:00 2001 From: MotchQF <127864796+MotchQF@users.noreply.github.com> Date: Mon, 20 Mar 2023 14:02:59 -0300 Subject: [PATCH] Updated withHeadings to respect config definition --- src/table.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/table.js b/src/table.js index 28d10ad..d598c45 100644 --- a/src/table.js +++ b/src/table.js @@ -74,7 +74,7 @@ export default class Table { // Additional settings for the table this.tunes = { - withHeadings: false + withHeadings: config?.withHeadings ? true : false }; /**