mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 12:55:00 +00:00
fix: migration props:elements (#2889)
This commit is contained in:
@@ -38,6 +38,10 @@ describe('subdoc', () => {
|
||||
if (id === 'xyWNqindHH') {
|
||||
return;
|
||||
}
|
||||
if (blocks[id]['sys:flavour'] === 'affine:surface' && !blocks[id]['prop:elements']) {
|
||||
blocks[id]['prop:elements'] = data[id]['prop:elements'];
|
||||
|
||||
}
|
||||
expect(data[id]).toEqual(blocks[id]);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user