mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 21:27:20 +00:00
feat: support migration (#2852)
This commit is contained in:
@@ -267,7 +267,13 @@ export const WorkspaceLayout: FC<PropsWithChildren> =
|
||||
);
|
||||
});
|
||||
}
|
||||
items.push(...item.map(x => ({ id: x.id, flavour: x.flavour })));
|
||||
items.push(
|
||||
...item.map(x => ({
|
||||
id: x.id,
|
||||
flavour: x.flavour,
|
||||
version: undefined,
|
||||
}))
|
||||
);
|
||||
} catch (e) {
|
||||
logger.error('list data error:', e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user