mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-22 00:37:05 +08:00
chore: bump version (#1313)
This commit is contained in:
@@ -201,8 +201,8 @@ export class DataCenter {
|
||||
|
||||
const workspaceUnitForPublic = new WorkspaceUnit({
|
||||
id: workspaceId,
|
||||
name: blocksuiteWorkspace.meta.name,
|
||||
avatar: blocksuiteWorkspace.meta.avatar,
|
||||
name: blocksuiteWorkspace.meta.name ?? '',
|
||||
avatar: blocksuiteWorkspace.meta.avatar ?? '',
|
||||
owner: undefined,
|
||||
published: true,
|
||||
provider: 'affine',
|
||||
|
||||
@@ -9,7 +9,7 @@ export const setDefaultAvatar = async (
|
||||
if (typeof document === 'undefined') {
|
||||
return;
|
||||
}
|
||||
const blob = await getDefaultHeadImgBlob(blocksuiteWorkspace.meta.name);
|
||||
const blob = await getDefaultHeadImgBlob(blocksuiteWorkspace.meta.name ?? '');
|
||||
if (!blob) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user