Skip to content

armgit / fuobe

Public Imported from GitHub
0

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.

Marketing: the composer's note line shows only when there is a note

Adarsh8e51173480b5
diff --git a/src/components/marketing/marketing-studio.tsx b/src/components/marketing/marketing-studio.tsx
index 17d84e0f..8a00a4c1 100644
--- a/src/components/marketing/marketing-studio.tsx
+++ b/src/components/marketing/marketing-studio.tsx
@@ -604,7 +604,7 @@ export function MarketingStudio({ models, starters = [] }: { models: Record<stri
</div>
{est.data?.notes.length && !blocker ? <p className="hidden truncate px-2 pt-1 text-[11px] text-muted-foreground sm:block">{est.data.notes[0]}</p> : null}
{/* Phones have no hover: what blocks Generate sits under the composer (the chip says where it runs and its price). */}
- {(blocker || est.data?.notes.length) && (
+ {(!!blocker || !!est.data?.notes.length) && (
<p className="min-w-0 truncate px-2 pt-1 text-[11px] text-muted-foreground sm:hidden" aria-live="polite">
{blocker ?? est.data?.notes[0] ?? ""}
</p>