Skip to content

Commit

Permalink
Merge pull request #11384 from Budibase/app-validation-imports
Browse files Browse the repository at this point in the history
Disable component validation for old app imports
  • Loading branch information
aptkingston authored Jul 31, 2023
2 parents dc71790 + adbed5e commit dde993e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/server/src/api/controllers/application.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit dde993e

Please sign in to comment.