Merge pull request #11384 from Budibase/app-validation-imports

Disable component validation for old app imports
This commit is contained in:
Andrew Kingston 2023-07-31 14:38:46 +01:00 committed by GitHub
commit a48b4e784c
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 // Migrate navigation settings and screens if required
if (existing) { if (existing) {
const navigation = await migrateAppNavigation() const navigation = await migrateAppNavigation()