mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-11-30 14:12:00 +03:00
feat: add workspace-setting active
This commit is contained in:
parent
779463dada
commit
a80e15042a
@ -153,16 +153,11 @@ export const WorkSpaceSliderBar = () => {
|
|||||||
</IconButton>
|
</IconButton>
|
||||||
</StyledListItem>
|
</StyledListItem>
|
||||||
<FavoriteList showList={showSubFavorite} />
|
<FavoriteList showList={showSubFavorite} />
|
||||||
<StyledListItem
|
<StyledListItem active={router.asPath === paths.setting}>
|
||||||
onClick={() => {
|
|
||||||
// setShowWorkspaceSetting(true);
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
<StyledLink href={{ pathname: paths.setting }}>
|
<StyledLink href={{ pathname: paths.setting }}>
|
||||||
<FavouritesIcon />
|
<SettingsIcon />
|
||||||
{t('Setting')}
|
{t('Setting')}
|
||||||
</StyledLink>
|
</StyledLink>
|
||||||
<SettingsIcon />
|
|
||||||
</StyledListItem>
|
</StyledListItem>
|
||||||
|
|
||||||
{/* <WorkspaceSetting
|
{/* <WorkspaceSetting
|
||||||
|
Loading…
Reference in New Issue
Block a user