Skip to content

Commit

Permalink
feat: capitalize plan type display in organization route
Browse files Browse the repository at this point in the history
  • Loading branch information
pavkout authored and filfreire committed Nov 15, 2024
1 parent fcd7141 commit 86d40a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/insomnia/src/ui/routes/organization.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,7 @@ const OrganizationRoute = () => {
</Button>
<Popover className="min-w-max border select-none text-sm border-solid border-[--hl-sm] shadow-lg bg-[--color-bg] py-2 rounded-md overflow-y-auto max-h-[85vh] focus:outline-none">
{currentPlan && Boolean(currentPlan.type) && (
<div className='flex gap-2 justify-between items-center pb-2 px-[--padding-md] border-b border-solid border-[--hl-sm] text-[--color-font] h-[--line-height-xs] w-full text-md whitespace-nowrap'>
<div className='flex gap-2 justify-between items-center pb-2 px-[--padding-md] border-b border-solid border-[--hl-sm] text-[--color-font] h-[--line-height-xs] w-full text-md whitespace-nowrap capitalize'>
<span>{currentPlan.planName ?? formatCurrentPlanType(currentPlan.type)} Plan</span>
<UpgradeButton currentPlan={currentPlan} />
</div>
Expand Down

0 comments on commit 86d40a5

Please sign in to comment.