mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-12 23:56:36 +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;
|
||||
};
|
||||
|
||||
@@ -857,6 +857,7 @@
|
||||
"com.affine.page-properties.page-info.view": "View Info",
|
||||
"com.affine.page-properties.property-value-placeholder": "Empty",
|
||||
"com.affine.page-properties.property-user-avatar-no-record": "No Record",
|
||||
"com.affine.page-properties.property-user-local": "Local User",
|
||||
"com.affine.page-properties.property.always-hide": "Always hide",
|
||||
"com.affine.page-properties.property.always-show": "Always show",
|
||||
"com.affine.page-properties.property.checkbox": "Checkbox",
|
||||
|
||||
Reference in New Issue
Block a user