From 5f729464a26ecc704813d082f592e0a45a26f6b6 Mon Sep 17 00:00:00 2001 From: tzhangchi Date: Wed, 4 Jan 2023 21:49:56 +0800 Subject: [PATCH] feat: learn poc --- .../src/components/workspace-modal/index.tsx | 18 ++++++++++++------ packages/app/src/pages/new-workspace/index.tsx | 6 +++--- 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/packages/app/src/components/workspace-modal/index.tsx b/packages/app/src/components/workspace-modal/index.tsx index 84e56dd60d..f6a2efdb96 100644 --- a/packages/app/src/components/workspace-modal/index.tsx +++ b/packages/app/src/components/workspace-modal/index.tsx @@ -27,7 +27,7 @@ export const WorkspaceModal = ({ open, onClose }: LoginModalProps) => {
- My workspace + My Workspace List { return ( - {item.name} - {item.type === 'local' && local} - {item.type === 'share' && share} - {item.isPublish ? 'public' : 'private'} - {item.isLocal ? 'local' : 'local'} + {item.name}/ + {item.type === 'local' && local} + {item.type === 'share' && share}/ + {item.isPublish ? 'isPublish' : 'isPrivate'}/ + {item.isLocal ? 'isLocal' : ''}/ ); })}