Remove enrichEmptySettings from component patch function as any screen update already invokes empty setting enrichment on every single component

This commit is contained in:
Andrew Kingston 2024-05-21 14:17:35 +01:00
parent 8fe020cf28
commit a074cb6bef
1 changed files with 0 additions and 1 deletions

View File

@ -555,7 +555,6 @@ export class ComponentStore extends BudiStore {
const patchResult = patchFn(component, screen) const patchResult = patchFn(component, screen)
// Post processing // Post processing
this.enrichEmptySettings(component, { screen, useDefaultValues: false })
const migrated = this.migrateSettings(component) const migrated = this.migrateSettings(component)
// Returning an explicit false signifies that we should skip this // Returning an explicit false signifies that we should skip this