File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ " dopeshot-app " : patch
3+ ---
4+
5+ Fix logo button showing dropdown menu for logged out users instead of direct file picker
Original file line number Diff line number Diff line change 1+ ---
2+ " dopeshot-app " : patch
3+ ---
4+
5+ Hide brand personality indicator in font selector for logged out users
Original file line number Diff line number Diff line change @@ -62,9 +62,9 @@ export const LayoutConfigPanel = ({
6262
6363 // Check if brand logo is currently applied
6464 const isBrandLogoApplied = logoAsset && brandLogoAsset && logoAsset . id === brandLogoAsset . id ;
65-
66- // Check if brand logo is available but not applied
67- const hasBrandLogoAvailable = ! logoAsset && brandSettings . logoUrl ;
65+
66+ // Check if brand logo is available but not applied (only for brand users)
67+ const hasBrandLogoAvailable = isBrandUser && ! logoAsset && brandSettings . logoUrl ;
6868
6969 // Check if text is actually supported (not just hidden by layout type)
7070 const isPeakLeftOrRight = config . layoutId === "popup-gradient-left" || config . layoutId === "popup-gradient-right" ;
Original file line number Diff line number Diff line change @@ -100,8 +100,8 @@ export function LayoutSection({ isBrandUser = false }: LayoutSectionProps) {
100100 fontStyle = { config . fontStyle }
101101 onFontStyleChange = { handleFontStyleChange }
102102 isBrandUser = { isBrandUser }
103- brandFontStyle = { personalityStyle ?. fontStyle }
104- brandPersonalityName = { personalityName }
103+ brandFontStyle = { isBrandUser ? personalityStyle ?. fontStyle : undefined }
104+ brandPersonalityName = { isBrandUser ? personalityName : undefined }
105105 />
106106 </ div >
107107 ) }
You can’t perform that action at this time.
0 commit comments