We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 428bb7f commit cecc674Copy full SHA for cecc674
src/app/components/Sidebar/index.tsx
@@ -84,11 +84,13 @@ function Sidebar() {
84
</a>
85
</Tooltip>
86
)}
87
- <Tooltip content={t('Theme')}>
88
- <a onClick={() => setThemeSettingModalOpen(true)}>
89
- <IconButton icon={themeIcon} />
90
- </a>
91
- </Tooltip>
+ {!collapsed && (
+ <Tooltip content={t('Theme')}>
+ <a onClick={() => setThemeSettingModalOpen(true)}>
+ <IconButton icon={themeIcon} />
+ </a>
92
+ </Tooltip>
93
+ )}
94
<Tooltip content={t('Settings')}>
95
<Link to="/setting">
96
<IconButton icon={settingIcon} />
0 commit comments