Merge pull request #768 from toeverything/feat/hide-feature
feat: Hide some unimplemented functions
This commit is contained in:
@@ -5,9 +5,9 @@ import {
|
|||||||
StyledWorkspaceName,
|
StyledWorkspaceName,
|
||||||
StyledEmail,
|
StyledEmail,
|
||||||
} from './style';
|
} from './style';
|
||||||
import { DownloadIcon } from '@blocksuite/icons';
|
// import { DownloadIcon } from '@blocksuite/icons';
|
||||||
import { Button } from '@/ui/button';
|
// import { Button } from '@/ui/button';
|
||||||
import { Menu, MenuItem } from '@/ui/menu';
|
// import { Menu, MenuItem } from '@/ui/menu';
|
||||||
import { WorkspaceUnit } from '@affine/datacenter';
|
import { WorkspaceUnit } from '@affine/datacenter';
|
||||||
import { useTranslation, Trans } from '@affine/i18n';
|
import { useTranslation, Trans } from '@affine/i18n';
|
||||||
import { WorkspaceUnitAvatar } from '@/components/workspace-avatar';
|
import { WorkspaceUnitAvatar } from '@/components/workspace-avatar';
|
||||||
@@ -58,8 +58,8 @@ export const SyncPage = ({ workspace }: { workspace: WorkspaceUnit }) => {
|
|||||||
</StyledEmail>
|
</StyledEmail>
|
||||||
</Trans>
|
</Trans>
|
||||||
</div>
|
</div>
|
||||||
|
{/* TODO: will finish the feature next version */}
|
||||||
<StyledButtonContainer>
|
{/* <StyledButtonContainer>
|
||||||
<Menu
|
<Menu
|
||||||
content={
|
content={
|
||||||
<>
|
<>
|
||||||
@@ -88,7 +88,7 @@ export const SyncPage = ({ workspace }: { workspace: WorkspaceUnit }) => {
|
|||||||
{t('Download data', { CoreOrAll: '' })}
|
{t('Download data', { CoreOrAll: '' })}
|
||||||
</Button>
|
</Button>
|
||||||
</Menu>
|
</Menu>
|
||||||
</StyledButtonContainer>
|
</StyledButtonContainer> */}
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
</StyledPublishContent>
|
</StyledPublishContent>
|
||||||
|
|||||||
Reference in New Issue
Block a user