Skip to content

Commit

Permalink
fix: show requests when is active
Browse files Browse the repository at this point in the history
  • Loading branch information
190km committed Dec 30, 2024
1 parent a7b3fb1 commit 71d3ffb
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion apps/dokploy/components/dashboard/requests/show-requests.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,15 @@ export const ShowRequests = () => {
</div>
</CardHeader>
<CardContent>
<RequestDistributionChart />
{
isActive ? (
<RequestDistributionChart />
) : (
<div className="flex items-center justify-center">
<span className="text-muted-foreground py-6">You need to activate requests</span>
</div>
)
}
</CardContent>
</Card>
<RequestsTable />
Expand Down

0 comments on commit 71d3ffb

Please sign in to comment.