Skip to content

Commit 0953a9e

Browse files
svenefftingeroboquat
authored andcommitted
[dashboard] display professional OS
free acounts with more than 500 credits are considered "Professional Open Source" plans.
1 parent fbe70ea commit 0953a9e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/dashboard/src/components/UsageBasedBillingConfig.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -298,14 +298,14 @@ export default function UsageBasedBillingConfig({ attributionId }: Props) {
298298
<div className="flex flex-col mt-4 p-4 rounded-xl bg-gray-50 dark:bg-gray-800">
299299
<div className="uppercase text-sm text-gray-400 dark:text-gray-500">Current Plan</div>
300300
<div className="mt-1 text-xl font-semibold flex-grow text-gray-600 dark:text-gray-400">
301-
Free
301+
{usageLimit > 500 ? "Professional Open Source" : "Free"}
302302
</div>
303303
<div className="mt-4 flex space-x-1 text-gray-400 dark:text-gray-500">
304304
<Check className="m-0.5 w-5 h-5 text-orange-500" />
305305
<div className="flex flex-col">
306-
<span className="font-bold text-gray-500 dark:text-gray-400">500 credits</span>
306+
<span className="font-bold text-gray-500 dark:text-gray-400">{usageLimit} credits</span>
307307
<span>
308-
50 hours of Standard workspace usage.{" "}
308+
{usageLimit / 10} hours of Standard workspace usage.{" "}
309309
<a
310310
className="gp-link"
311311
href="https://www.gitpod.io/docs/configure/billing/usage-based-billing"

0 commit comments

Comments
 (0)