Skip to content

Commit

Permalink
Ensure user table editing is still allowed for old apps that are impo…
Browse files Browse the repository at this point in the history
…rted
  • Loading branch information
aptkingston committed Oct 9, 2023
1 parent 8f8e5b4 commit 89e6a69
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/server/src/api/controllers/application.ts
Original file line number Diff line number Diff line change
Expand Up @@ -311,10 +311,13 @@ async function performAppCreate(ctx: UserCtx) {
}
})

// Keep existing validation setting
// Keep existing feature flags
if (!existing.features?.componentValidation) {
newApplication.features!.componentValidation = false
}
if (!existing.features?.disableUserMetadata) {
newApplication.features!.disableUserMetadata = false
}

// Migrate navigation settings and screens if required
if (existing) {
Expand Down

0 comments on commit 89e6a69

Please sign in to comment.