Skip to content

Commit

Permalink
refactor: improve requests
Browse files Browse the repository at this point in the history
  • Loading branch information
Siumauricio committed Jan 2, 2025
1 parent 198ace2 commit 9f24f24
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions apps/dokploy/components/dashboard/requests/show-requests.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,18 +94,18 @@ export const ShowRequests = () => {
</div>
</CardHeader>
<CardContent>
{
isActive ? (
<RequestDistributionChart />
) : (
<div className="flex items-center justify-center">
<span className="text-muted-foreground py-6">You need to activate requests</span>
</div>
)
}
{isActive ? (
<RequestDistributionChart />
) : (
<div className="flex items-center justify-center min-h-[25vh]">
<span className="text-muted-foreground py-6">
You need to activate requests
</span>
</div>
)}
</CardContent>
</Card>
<RequestsTable />
{isActive && <RequestsTable />}
</>
);
};

0 comments on commit 9f24f24

Please sign in to comment.