1
0
Fork 0
mirror of synced 2024-10-04 03:54:37 +13:00

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

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()