feat(billing): use Subscription.orgRetention in customerOverview#103124
feat(billing): use Subscription.orgRetention in customerOverview#103124
Conversation
| {customer.dataRetention || '90d'} | ||
| {customer.orgRetention?.standard | ||
| ? `${customer.orgRetention?.standard}d` | ||
| : '90d'} |
There was a problem hiding this comment.
what's the reason we fallback to 90d?
There was a problem hiding this comment.
Good catch. This is actually an existing bug, because we show 90-day retention for free orgs.
It should fall back to the errors retention for the org (all plans have DataCategory.ERROR), and then perhaps fall back to 90.
|
🚨 Warning: This pull request contains Frontend and Backend changes! It's discouraged to make changes to Sentry's Frontend and Backend in a single pull request. The Frontend and Backend are not atomically deployed. If the changes are interdependent of each other, they must be separated into two pull requests and be made forward or backwards compatible, such that the Backend or Frontend can be safely deployed independently. Have questions? Please ask in the |
d98ac3d to
04ad2e9
Compare
04ad2e9 to
1080a50
Compare
This PR is stack on top of #103118 and is a follow up to https://github.com/getsentry/getsentry/pull/18799