Disable component validation for old app imports

This commit is contained in:
Andrew Kingston 2023-07-27 16:09:38 +01:00
parent 822b2c7283
commit aef9ff06af
1 changed files with 5 additions and 0 deletions

View File

@ -331,6 +331,11 @@ async function performAppCreate(ctx: UserCtx) {
}
})
// Keep existing validation setting
if (!existing.features?.componentValidation) {
newApplication.features!.componentValidation = false
}
// Migrate navigation settings and screens if required
if (existing) {
const navigation = await migrateAppNavigation()