Skip to content

Commit c5365fd

Browse files
fix(web): describe the selected limits empty state
1 parent c061d55 commit c5365fd

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎apps/web/src/components/usage/UsageLimits.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ export function UsageLimitsSection({
445445
<div className="flex flex-col gap-8">
446446
{groups.length === 0 && sources.length === 0 ? (
447447
<p className="text-sm text-muted-foreground">
448-
No provider on a connected environment reports subscription limits.
448+
No provider on the selected environments reports subscription limits.
449449
</p>
450450
) : null}
451451
{sources.map((source) => (

‎apps/web/src/components/usage/UsagePage.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,8 +287,8 @@ export function UsagePage() {
287287
{selectedEnvironments.length === 0 ? (
288288
<p className="text-sm text-muted-foreground">
289289
{environments.length === 0
290-
? "Connect an environment to see usage."
291-
: "Select an environment to see usage."}
290+
? `Connect an environment to see ${showingLimits ? "limits" : "usage"}.`
291+
: `Select an environment to see ${showingLimits ? "limits" : "usage"}.`}
292292
</p>
293293
) : showingLimits ? (
294294
<UsageLimitsSection selectedEnvironmentIds={selectedEnvironmentIds} />

0 commit comments

Comments
 (0)