mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
refactor: improve requests
This commit is contained in:
@@ -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 />}
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user