chore: Update libraryStatComponent to display only the first 5 items issue #223

This commit is contained in:
CyferShepard
2024-07-06 18:41:10 +02:00
parent afa99af321
commit 6c849eb4c4

View File

@@ -42,7 +42,7 @@ function LibraryStatComponent(props) {
</div>
</Card.Header>
{props.data &&
props.data.map((item, index) => (
props.data.slice(0,5).map((item, index) => (
<div className="d-flex justify-content-between stat-items" key={item.Id || index}>
<div className="d-flex justify-content-between">