Skip to content

Commit d94fa09

Browse files
committed
chore: add config to hide decimals in plans list
1 parent e5b317c commit d94fa09

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

sdks/js/packages/core/react/components/organization/plans/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ const PlanPricingColumn = ({
194194
value={selectedIntervalPricing.amount}
195195
currency={selectedIntervalPricing.currency}
196196
className={plansStyles.planPrice}
197+
hideDecimals={config?.billing?.hideDecimals}
197198
/>
198199
<Text size={2} className={plansStyles.planPriceSub}>
199200
per seat/{selectedInterval}

sdks/js/packages/core/shared/types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ export interface FrontierClientBillingOptions {
44
supportEmail?: string;
55
successUrl?: string;
66
cancelUrl?: string;
7+
hideDecimals?: boolean;
78
}
89

910
export interface FrontierClientOptions {

0 commit comments

Comments
 (0)