KamoCRM

Return empty meters instead of null from getCurrentUsage

Fixkamo-internal
Shipped
12 மே, 2026 அன்று 6:29 AM UTC
Author
kamo
Commit
45cc1f4

StatsManager rendered <UsageMeters usage={null}> when the legacy stub resolved to null, crashing on usage.meters. Return { meters: [] } so the component takes the existing empty-state branch.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing