Skip to content

Commit

Permalink
Fix Dashboard domain names list length
Browse files Browse the repository at this point in the history
Domains 4 and 5 would be hidden unless more than 5 were returned
  • Loading branch information
STG-Tanner authored Jul 10, 2024
1 parent 5b45d49 commit 7bafde8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/home/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ const TenantDashboard = () => {
{organization.verifiedDomains?.slice(0, 3).map((item, idx) => (
<li key={idx}>{item.name}</li>
))}
{organization.verifiedDomains?.length > 5 && (
{organization.verifiedDomains?.length > 3 && (
<>
<CCollapse visible={domainVisible}>
{organization.verifiedDomains?.slice(3).map((item, idx) => (
Expand Down

0 comments on commit 7bafde8

Please sign in to comment.