Skip to content

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.

feat: return name

MingLiang Wang5723117cb819
diff --git a/packages/data-center/src/provider/affine/affine.ts b/packages/data-center/src/provider/affine/affine.ts
index e314527bd7..478aa583d5 100644
--- a/packages/data-center/src/provider/affine/affine.ts
+++ b/packages/data-center/src/provider/affine/affine.ts
@@ -146,8 +146,8 @@ export class AffineProvider extends BaseProvider {
if (workspace) {
workspaces[i] = {
...workspaces[i],
- name: workspace.doc.meta.name,
- avatar: workspace.doc.meta.avatar,
+ name: workspace.meta.name,
+ avatar: workspace.meta.avatar,
};
}
});