We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c66ce6 commit 5477499Copy full SHA for 5477499
src/packages/frontend/purchases/subscriptions.tsx
@@ -480,8 +480,11 @@ export default function Subscriptions() {
480
dataIndex: "cost",
481
key: "cost",
482
render: (cost, record) => {
483
- if (record.status == "active") {
+ // in prod we hit a case where cost was null, hence the if here.
484
+ if (record.status == "active" && cost != null) {
485
return `${currency(round2up(cost))}/${record.interval}`;
486
+ } else {
487
+ return "-";
488
}
489
},
490
0 commit comments