diff --git a/src/frontend/src/components/Header.tsx b/src/frontend/src/components/Header.tsx index d4e3868d..dc73a462 100644 --- a/src/frontend/src/components/Header.tsx +++ b/src/frontend/src/components/Header.tsx @@ -316,6 +316,57 @@ export const Header = forwardRef( // Determine if we should show icons only (both URLs configured) const showIconsOnly = Boolean(calibreWebUrl && audiobookLibraryUrl); + const renderSettingsButton = (variant: 'nav' | 'menu') => { + if (!onSettingsClick) return null; + const isNav = variant === 'nav'; + return ( + + ); + }; + // Icon buttons - reused for both states const iconButtonsNode = (
@@ -412,6 +463,8 @@ export const Header = forwardRef( )} + {renderSettingsButton('nav')} + {/* User Menu Dropdown */}
- )} + {renderSettingsButton('menu')} {/* Debug Buttons */} {debug && (