Only show banner pencil badge when a banner image is already set

This commit is contained in:
Alex Gleason committed 2026-04-03 13:38:32 -05:00
1 parent 9daccc1947
commit b7e7f5420a
1 file changed
+5 -3
+5 -3
View File
@@ -393,9 +393,11 @@ export function AppDialog({ projectId, open, onOpenChange }: AppDialogProps) {
{formData.banner ? 'Change banner' : 'Add banner'}
</span>
</div>
<div className="absolute bottom-2 right-2 h-7 w-7 rounded-full bg-background border border-border shadow-sm flex items-center justify-center">
<Pencil className="h-3.5 w-3.5 text-muted-foreground" />
</div>
{formData.banner && (
<div className="absolute bottom-2 right-2 h-7 w-7 rounded-full bg-background border border-border shadow-sm flex items-center justify-center">
<Pencil className="h-3.5 w-3.5 text-muted-foreground" />
</div>
)}
</div>
{/* Icon + Name/Description */}