feat: support migration (#2852)

This commit is contained in:
Alex Yang
2023-06-26 15:55:44 +08:00
committed by GitHub
parent 002e64c819
commit 8e82d1e02c
14 changed files with 395 additions and 119 deletions

View File

@@ -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);
}