From 1c1cf2154dbad56125d762a7ab04e0949e76b396 Mon Sep 17 00:00:00 2001 From: Jaganathan Kaliyaperumal Date: Thu, 16 Jul 2020 14:51:03 -0500 Subject: [PATCH] fix (table): move outside the loop --- packages/table/src/ChameleonTable.js | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/packages/table/src/ChameleonTable.js b/packages/table/src/ChameleonTable.js index 31e1834e..70f99c47 100644 --- a/packages/table/src/ChameleonTable.js +++ b/packages/table/src/ChameleonTable.js @@ -64,10 +64,9 @@ export class ChameleonTable extends LitElement { )} - - ${this.rows.map((row, index) => { - return html` - + + ${this.rows.map((row, index) => { + return html` - `; - })} + `; + })} + ${this.hidePagination || this.totalItems <= this.pageSize