The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.
TypeScript ai-videocomfyuicreative-toolsgenerative-aiideogramimage-generationimage-to-3dimage-to-videoltx-videominimax-h3nextjsopen-sourceopen-weightsqwen-imagetext-to-imagevideo-generationwan
Settings: the owner always sees the Accounts chip, 0 included
Adarsh090dc5347266
diff --git a/src/components/accounts-admin.tsx b/src/components/accounts-admin.tsxindex 8fa03b81..4d0444ad 100644--- a/src/components/accounts-admin.tsx+++ b/src/components/accounts-admin.tsx@@ -99,11 +99,11 @@ export function runsHref({ account, status, kind }: { account?: string; status?:return s ? `/settings/runs?${s}` : "/settings/runs";}-/** Settings' strip (the owner, once someone has signed up): how many, and the way down to Accounts, the last section. */+/** Settings' strip (the owner): how many accounts, 0 included, and the way down to Accounts, the last section. */export function AccountsChip() {const owner = useViewer().data?.owner;const q = useAdminAccounts(!!owner);- if (!q.data?.total) return null;+ if (!q.data) return null;return (<a href="#accounts" className="inline-flex h-7 shrink-0 items-center gap-1.5 rounded-full bg-secondary px-2.5 text-[12px] whitespace-nowrap transition-colors hover:bg-accent"><span className="text-muted-foreground">Accounts</span>diff --git a/src/components/settings-form.tsx b/src/components/settings-form.tsxindex a96f60a2..62f8b131 100644--- a/src/components/settings-form.tsx+++ b/src/components/settings-form.tsx@@ -153,7 +153,7 @@ function ChoiceField({/*** What's connected, at a glance and always in view: one chip per connection (green when it works,- * each a link to its field), the engine mode and, once someone has signed up, the accounts. Also opens the setup guide again.+ * each a link to its field), the engine mode and, for the owner, the accounts. Also opens the setup guide again.*/function StatusStrip({ status, onGuide, guideOpen }: { status?: StatusInfo; onGuide: () => void; guideOpen: boolean }) {return (