Skip to content

Commit

Permalink
fix(inventoryList,inventorySubscriptions): fadein, pending only (#587)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdcabrera committed Feb 22, 2021
1 parent b379642 commit 2a84d53
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ exports[`InventoryList Component should handle variations in data: filtered data
>
<CardBody>
<div
className="fadein"
className=""
>
<Table
ariaLabel={null}
Expand Down Expand Up @@ -381,7 +381,7 @@ exports[`InventoryList Component should handle variations in data: variable data
>
<CardBody>
<div
className="fadein"
className=""
>
<Table
ariaLabel={null}
Expand Down Expand Up @@ -496,7 +496,7 @@ exports[`InventoryList Component should render a non-connected component: non-co
>
<CardBody>
<div
className="fadein"
className=""
>
<Table
ariaLabel={null}
Expand Down
2 changes: 1 addition & 1 deletion src/components/inventoryList/inventoryList.js
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ class InventoryList extends React.Component {
</MinHeight>
<MinHeight key={minHeightContentRefreshKey} updateOnContent>
<CardBody>
<div className={(error && 'blur') || 'fadein'}>
<div className={(error && 'blur') || (pending && 'fadein') || ''}>
{pending && (
<Loader
variant="table"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ exports[`InventorySubscriptions Component should handle variations in data: filt
>
<CardBody>
<div
className="fadein"
className=""
>
<Table
ariaLabel={null}
Expand Down Expand Up @@ -258,7 +258,7 @@ exports[`InventorySubscriptions Component should handle variations in data: vari
>
<CardBody>
<div
className="fadein"
className=""
>
<Table
ariaLabel={null}
Expand Down Expand Up @@ -364,7 +364,7 @@ exports[`InventorySubscriptions Component should render a non-connected componen
>
<CardBody>
<div
className="fadein"
className=""
>
<Table
ariaLabel={null}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ class InventorySubscriptions extends React.Component {
</MinHeight>
<MinHeight key={minHeightContentRefreshKey} updateOnContent>
<CardBody>
<div className={(error && 'blur') || 'fadein'}>
<div className={(error && 'blur') || (pending && 'fadein') || ''}>
{pending && (
<Loader
variant="table"
Expand Down

0 comments on commit 2a84d53

Please sign in to comment.