Skip to content

Commit

Permalink
show subscription cost if known, even if status isn't active -- helps…
Browse files Browse the repository at this point in the history
… to know what to expect
  • Loading branch information
williamstein committed Dec 30, 2024
1 parent 267f968 commit f12df84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/packages/frontend/purchases/subscriptions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ export default function Subscriptions() {
key: "cost",
render: (cost, record) => {
// in prod we hit a case where cost was null, hence the if here.
if (record.status == "active" && cost != null) {
if (cost != null) {
return `${currency(round2up(cost))}/${record.interval}`;
} else {
return "-";
Expand Down

0 comments on commit f12df84

Please sign in to comment.