mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-09-13 04:42:56 +08:00
@@ -1,4 +1,4 @@
|
|||||||
import { Menu, MenuItem, Tooltip } from '@affine/component';
|
import { Menu, MenuItem } from '@affine/component';
|
||||||
import { WorkspaceList } from '@affine/component/workspace-list';
|
import { WorkspaceList } from '@affine/component/workspace-list';
|
||||||
import type {
|
import type {
|
||||||
AffineCloudWorkspace,
|
AffineCloudWorkspace,
|
||||||
@@ -9,7 +9,6 @@ import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
|||||||
import type { RootWorkspaceMetadata } from '@affine/workspace/atom';
|
import type { RootWorkspaceMetadata } from '@affine/workspace/atom';
|
||||||
import {
|
import {
|
||||||
CloudWorkspaceIcon,
|
CloudWorkspaceIcon,
|
||||||
HelpIcon,
|
|
||||||
ImportIcon,
|
ImportIcon,
|
||||||
MoreHorizontalIcon,
|
MoreHorizontalIcon,
|
||||||
PlusIcon,
|
PlusIcon,
|
||||||
@@ -27,7 +26,6 @@ import {
|
|||||||
StyledCreateWorkspaceCardPill,
|
StyledCreateWorkspaceCardPill,
|
||||||
StyledCreateWorkspaceCardPillContent,
|
StyledCreateWorkspaceCardPillContent,
|
||||||
StyledCreateWorkspaceCardPillIcon,
|
StyledCreateWorkspaceCardPillIcon,
|
||||||
StyledHelperContainer,
|
|
||||||
StyledImportWorkspaceCardPill,
|
StyledImportWorkspaceCardPill,
|
||||||
StyledModalBody,
|
StyledModalBody,
|
||||||
StyledModalContent,
|
StyledModalContent,
|
||||||
@@ -93,15 +91,6 @@ const CloudWorkSpaceList = ({
|
|||||||
<StyledModalTitle>
|
<StyledModalTitle>
|
||||||
{t['com.affine.workspace.cloud.sync']()}
|
{t['com.affine.workspace.cloud.sync']()}
|
||||||
</StyledModalTitle>
|
</StyledModalTitle>
|
||||||
<Tooltip
|
|
||||||
content={t['Workspace description']()}
|
|
||||||
placement="top-start"
|
|
||||||
disablePortal={true}
|
|
||||||
>
|
|
||||||
<StyledHelperContainer>
|
|
||||||
<HelpIcon />
|
|
||||||
</StyledHelperContainer>
|
|
||||||
</Tooltip>
|
|
||||||
</StyledModalHeaderLeft>
|
</StyledModalHeaderLeft>
|
||||||
|
|
||||||
<StyledOperationWrapper>
|
<StyledOperationWrapper>
|
||||||
@@ -230,15 +219,6 @@ export const WorkspaceListModal = ({
|
|||||||
) : null}
|
) : null}
|
||||||
<StyledModalHeader>
|
<StyledModalHeader>
|
||||||
<StyledModalTitle>{t['Local Workspace']()}</StyledModalTitle>
|
<StyledModalTitle>{t['Local Workspace']()}</StyledModalTitle>
|
||||||
<Tooltip
|
|
||||||
content={t['Workspace description']()}
|
|
||||||
placement="top-start"
|
|
||||||
disablePortal={true}
|
|
||||||
>
|
|
||||||
<StyledHelperContainer>
|
|
||||||
<HelpIcon />
|
|
||||||
</StyledHelperContainer>
|
|
||||||
</Tooltip>
|
|
||||||
</StyledModalHeader>
|
</StyledModalHeader>
|
||||||
<StyledModalContent>
|
<StyledModalContent>
|
||||||
<WorkspaceList
|
<WorkspaceList
|
||||||
|
|||||||
Reference in New Issue
Block a user