Skip to content

Commit

Permalink
fix: fix the null billing limit (#24515)
Browse files Browse the repository at this point in the history
  • Loading branch information
zlwaterfield authored Aug 21, 2024
1 parent 020a49a commit c802071
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Binary file modified frontend/__snapshots__/scenes-app-dashboards--edit--light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 5 additions & 1 deletion frontend/src/scenes/billing/billingProductLogic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,11 @@ export const billingProductLogic = kea<billingProductLogicType>([
productAndAddonTiers,
billing?.discount_percent
)
: convertAmountToUsage(`${customLimitUsd}`, productAndAddonTiers, billing?.discount_percent)
: convertAmountToUsage(
customLimitUsd ? `${customLimitUsd}` : '',
productAndAddonTiers,
billing?.discount_percent
)
: 0
},
],
Expand Down

0 comments on commit c802071

Please sign in to comment.