Skip to content

Commit 9bd2004

Browse files
fix(usage stats): add chartTransform param to EnhancedUsageStatsOrganization (#94355)
closes https://linear.app/getsentry/issue/RTC-1058/stats-graph-does-not-update-when-switching-from-periodic-to-cumulative <img width="1408" alt="Screenshot 2025-06-25 at 12 43 57 PM" src="https://github.com/user-attachments/assets/55023ad8-1ab8-4c69-9b17-6e8fd66fecd8" />
1 parent b1a758b commit 9bd2004

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

static/gsApp/hooks/spendVisibility/enhancedUsageStatsOrganization.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@ interface EnhancedUsageStatsOrganizationProps
210210
isSingleProject: boolean;
211211
projects: Project[];
212212
subscription: Subscription;
213+
chartTransform?: string;
213214
spikeCursor?: string;
214215
}
215216
/**
@@ -233,6 +234,7 @@ function EnhancedUsageStatsOrganization({
233234
spikeCursor,
234235
clientDiscard,
235236
handleChangeState,
237+
chartTransform,
236238
}: EnhancedUsageStatsOrganizationProps) {
237239
const project = projects.find(p => p.id === `${projectIds[0]}`);
238240
const endpointQueryDatetime = getEndpointQueryDatetime(dataDatetime);
@@ -342,6 +344,7 @@ function EnhancedUsageStatsOrganization({
342344
endpointQuery={newEndpointQuery}
343345
handleChangeState={handleChangeState}
344346
clientDiscard={clientDiscard}
347+
chartTransform={chartTransform}
345348
>
346349
{usageStats => {
347350
const loadingStatuses = [usageStats.orgStats.isPending];

0 commit comments

Comments
 (0)