There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
fix(core): workspace not found after import (#5571)
EYHNd1c2b2a7b038
diff --git a/packages/frontend/core/src/components/affine/create-workspace-modal/index.tsx b/packages/frontend/core/src/components/affine/create-workspace-modal/index.tsxindex 0f28f86522..df58adbfaa 100644--- a/packages/frontend/core/src/components/affine/create-workspace-modal/index.tsx+++ b/packages/frontend/core/src/components/affine/create-workspace-modal/index.tsx@@ -121,6 +121,9 @@ export const CreateWorkspaceModal = ({const result = await apis.dialog.loadDBFile();if (result.workspaceId && !canceled) {_addLocalWorkspace(result.workspaceId);+ workspaceManager.list.revalidate().catch(err => {+ logger.error("can't revalidate workspace list", err);+ });onCreate(result.workspaceId);} else if (result.error || result.canceled) {if (result.error) {