Skip to content

Commit 80eaf78

Browse files
committed
feat(billing): Add profile hours to subscription overview usage chart
1 parent a633d2a commit 80eaf78

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

static/gsApp/views/subscriptionPage/reservedUsageChart.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ export function getCategoryOptions({
7777
}): CategoryOption[] {
7878
return USAGE_CHART_OPTIONS_DATACATEGORY.filter(
7979
opt =>
80-
plan.checkoutCategories.includes(opt.value as DataCategory) &&
80+
(plan.checkoutCategories.includes(opt.value as DataCategory) ||
81+
plan.onDemandCategories.includes(opt.value as DataCategory)) &&
8182
(opt.value === DataCategory.SPANS_INDEXED ? hadCustomDynamicSampling : true)
8283
);
8384
}

0 commit comments

Comments
 (0)