Skip to content

Commit 7ad8261

Browse files
authored
feat(billing): Add plan migration support for Logs (#95260)
Closes: https://linear.app/getsentry/issue/BIL-1087/add-formatting-for-plan-migrations
1 parent d3367db commit 7ad8261

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

static/gsApp/views/subscriptionPage/planMigrationActive/planMigrationRow.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,10 @@ function formatCategoryRowString(
5858
DATA_CATEGORY_INFO[category].plural as DataCategory,
5959
options
6060
);
61-
if (category === DataCategoryExact.ATTACHMENT) {
61+
if (
62+
category === DataCategoryExact.ATTACHMENT ||
63+
category === DataCategoryExact.LOG_BYTE
64+
) {
6265
return reservedWithUnits;
6366
}
6467

@@ -113,6 +116,7 @@ function PlanMigrationRow(props: Props) {
113116
case 'replay':
114117
case 'monitorSeat':
115118
case 'attachment':
119+
case 'logByte':
116120
case 'profileDuration':
117121
currentValue = formatCategoryRowString(props.type, props.currentValue, options);
118122
nextValue = formatCategoryRowString(props.type, props.nextValue, options);

0 commit comments

Comments
 (0)