{isMacOSApp ? : null}
{isOtherApp ? (
<>
{' '}
>
) : null}
{showDesktopLogo == true ? (
) : showMobileLogo == true ? (
) : null}
{isMobile && (
{selectedMenuItem.icon}
{selectedMenuItem.label}
)}
{showControls && (
}
style={{ marginBottom: '4px' }}
/>
}
/>
)}
{!showControls && (
Farm Control
)}
{isMobile && }
{showControls && (
showSpotlight()}
>
}
type='text'
style={{ marginTop: '4px' }}
onClick={() => showSpotlight()}
/>
toggleNotificationCenter()}
>
}
type='text'
style={{ marginTop: '2px' }}
onClick={() => toggleNotificationCenter()}
/>
)}
{import.meta.env.MODE === 'development' && (
{apiServerState === 'connected' ? (
}
/>
) : null}
{apiServerState === 'connecting' ? (
}
/>
) : null}
{apiServerState === 'disconnected' ? (
}
/>
) : null}
}
onClick={() => {
navigate('/dashboard/developer/sessionstorage')
}}
/>
)}
{showControls && userProfile ? (
}>
{!isMobile && (userProfile?.name || userProfile.username)}
) : null}
{showControls && isElectron && availableUpdate ? (
}
style={{ cursor: 'pointer', margin: '2px 0 0 0' }}
color='cyan'
onClick={() => checkForUpdates()}
>
Update Available
) : null}
{isOtherApp ? : null}
)
return (
<>
{isElectron ? (