From cbdaea1aab09b5ba34ea86d6f0e3062d7d32c837 Mon Sep 17 00:00:00 2001 From: MariaAga Date: Tue, 24 Oct 2023 18:44:51 +0200 Subject: [PATCH] Fixes #36858 - Table index page design changes --- .../PF4/TableIndexPage/Table/Table.js | 4 +-- .../PF4/TableIndexPage/TableIndexPage.js | 15 ++++++-- .../PF4/TableIndexPage/TableIndexPage.scss | 35 ++++++++++++------- 3 files changed, 37 insertions(+), 17 deletions(-) diff --git a/webpack/assets/javascripts/react_app/components/PF4/TableIndexPage/Table/Table.js b/webpack/assets/javascripts/react_app/components/PF4/TableIndexPage/Table/Table.js index 527501f04216..febd869f0fc7 100644 --- a/webpack/assets/javascripts/react_app/components/PF4/TableIndexPage/Table/Table.js +++ b/webpack/assets/javascripts/react_app/components/PF4/TableIndexPage/Table/Table.js @@ -78,7 +78,7 @@ export const Table = ({ url={url} refreshData={refreshData} /> - + {columnNamesKeys.map(k => ( @@ -122,7 +122,7 @@ export const Table = ({ )} {results.map((result, rowIndex) => ( - + {columnNamesKeys.map(k => ( {columns[k].wrapper ? columns[k].wrapper(result) : result[k]} diff --git a/webpack/assets/javascripts/react_app/components/PF4/TableIndexPage/TableIndexPage.js b/webpack/assets/javascripts/react_app/components/PF4/TableIndexPage/TableIndexPage.js index 7473d9423999..573fb9cfd761 100644 --- a/webpack/assets/javascripts/react_app/components/PF4/TableIndexPage/TableIndexPage.js +++ b/webpack/assets/javascripts/react_app/components/PF4/TableIndexPage/TableIndexPage.js @@ -174,7 +174,10 @@ const TableIndexPage = ({ )} - + {header} @@ -182,7 +185,10 @@ const TableIndexPage = ({ {beforeToolbarComponent} - + {searchable && ( @@ -214,7 +220,10 @@ const TableIndexPage = ({ - + {children || (