feat: Updated self hosted free plans
Server Deploy / deploy (push) Successful in 40s

This commit is contained in:
2026-07-27 16:26:20 +01:00
parent 66140aaf58
commit 8fd5eacec6
8 changed files with 77 additions and 144 deletions
+10 -11
View File
@@ -221,17 +221,16 @@ export function InstanceRecord({
<div className="flex flex-wrap items-center gap-2.5">
{state === "none" ? (
// A paid placeholder (awaiting_link) must CLAIM its install, not
// create a second Free instance beside it — so pass its id.
<LinkButton
href={
instance.status === "awaiting_link"
? `/instances/link?claim=${instance.instance_id}`
: "/instances/link"
}
>
Link an install
</LinkButton>
// A paid placeholder (awaiting_link) claims its real install
// UUID in place. Anything else without a licence gets one from
// the purchase page (self-hosted Free is created there).
instance.status === "awaiting_link" ? (
<LinkButton href={`/instances/link?claim=${instance.instance_id}`}>
Link an install
</LinkButton>
) : (
<LinkButton href="/purchase">Get a licence</LinkButton>
)
) : cloud && instance.slug ? (
<>
<LinkButton