Update migrate.ts
This commit is contained in:
parent
7c02a6d514
commit
e48f0c1794
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ export function migrate(document: TDDocument, newVersion: number): TDDocument {
|
|||
document.assets = {}
|
||||
}
|
||||
|
||||
if (version < 15.3) {
|
||||
if (version < 15.2) {
|
||||
Object.values(document.pages).forEach((page) => {
|
||||
Object.values(page.shapes).forEach((shape) => {
|
||||
if (shape.type === TDShapeType.Image || shape.type === TDShapeType.Video) {
|
||||
|
|
Loading…
Reference in a new issue