mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-22 12:36:24 +08:00
feat: add local user avatar
This commit is contained in:
+7
@@ -242,6 +242,13 @@ const CloudUserAvatar = (props: { type: PagePropertyType }) => {
|
||||
<span>{account.label}</span>
|
||||
</>
|
||||
);
|
||||
} else {
|
||||
return (
|
||||
<>
|
||||
<Avatar name="?" size={20} />
|
||||
<span>{t['com.affine.page-properties.property-user-local']()}</span>
|
||||
</>
|
||||
);
|
||||
}
|
||||
return null;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user