Skip to content

Commit

Permalink
Merge pull request #1033 from Keith-CY/hide-pending-list-if-it-has-no…
Browse files Browse the repository at this point in the history
…-items

fix(neuron-ui): hide the pending list if it has no items.
  • Loading branch information
Keith-CY authored Oct 30, 2019
2 parents 85c0c22 + 19d857e commit 1435917
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ const TransactionList = ({
enableShimmer={isLoading}
columns={transactionColumns}
items={txs}
groups={groups}
groups={groups.filter(group => group.count !== 0)}
groupProps={{
collapseAllVisibility: CollapseAllVisibility.hidden,
onRenderHeader: GroupHeader,
Expand Down

0 comments on commit 1435917

Please sign in to comment.