mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-05 20:41:30 +08:00
fix(HomeTabs): correct tab positioning logic for topic selection
This commit is contained in:
parent
2cd9418b7a
commit
6283ffdfe4
@ -116,10 +116,10 @@ const HomeTabs: FC<Props> = ({
|
|||||||
</CustomTabs>
|
</CustomTabs>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{position === 'left' && topicPosition === 'right' && (
|
{position === 'right' && topicPosition === 'right' && (
|
||||||
<CustomTabs>
|
<CustomTabs>
|
||||||
<TabItem active={tab === 'assistants'} onClick={() => setTab('assistants')}>
|
<TabItem active={tab === 'topic'} onClick={() => setTab('topic')}>
|
||||||
{t('assistants.abbr')}
|
{t('common.topics')}
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem active={tab === 'settings'} onClick={() => setTab('settings')}>
|
<TabItem active={tab === 'settings'} onClick={() => setTab('settings')}>
|
||||||
{t('settings.title')}
|
{t('settings.title')}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user