feat: shows req when is active

This commit is contained in:
190km 2024-12-30 19:23:31 +01:00
parent 638fbe17a6
commit 198ace236b

View File

@ -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 />