1
0
Fork 0
mirror of synced 2024-08-08 06:37:55 +12:00

Ensure user table editing is still allowed for old apps that are imported

This commit is contained in:
Andrew Kingston 2023-10-09 15:09:11 +01:00
parent 73e208292f
commit b17ec630c1

View file

@ -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) {