Skip to content

Commit

Permalink
fix(guestsList): column widths for loader (#585)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdcabrera committed Apr 13, 2021
1 parent 755d565 commit 4e8e8aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ exports[`GuestsList Component should handle multiple display states: paged pendi
Object {
"borders": false,
"colCount": 1,
"colWidth": Array [],
"rowCount": 0,
"variant": "compact",
}
Expand Down
1 change: 1 addition & 0 deletions src/components/guestsList/guestsList.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ class GuestsList extends React.Component {
tableProps={{
borders: false,
colCount: filterGuestsData?.length || (listData?.[0] && Object.keys(listData[0]).length) || 1,
colWidth: (filterGuestsData?.length && filterGuestsData.map(({ cellWidth }) => cellWidth)) || [],
rowCount: 0,
variant: TableVariant.compact
}}
Expand Down

0 comments on commit 4e8e8aa

Please sign in to comment.