feat: enable multiple hosted machines for beta access

This commit is contained in:
BennyKok
2024-01-12 00:07:10 +08:00
parent fbd89fcab1
commit 3a11b920b7
+5 -3
View File
@@ -316,9 +316,11 @@ export function MachineList({
<div className="ml-auto flex gap-2">
<InsertModal
dialogClassName="sm:max-w-[600px]"
disabled={data.some(
(machine) => machine.type === "comfy-deploy-serverless"
)}
disabled={
data.some(
(machine) => machine.type === "comfy-deploy-serverless"
) && !userMetadata.betaFeaturesAccess
}
tooltip={
data.some((machine) => machine.type === "comfy-deploy-serverless")
? "Only one hosted machine at preview stage"