(cherry picked from commit 351400b82e)
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
This commit is contained in:
co-authored by
Ryan McKinley
parent
557c310c8c
commit
d76bcd082f
@@ -198,7 +198,9 @@ export function restoreCustomOverrideRules(current: FieldConfigSource, old: Fiel
|
||||
if (isCustomFieldProp(prop)) {
|
||||
const currentOverride = result.overrides.find((o) => isEqual(o.matcher, override.matcher));
|
||||
if (currentOverride) {
|
||||
currentOverride.properties.push(prop);
|
||||
if (currentOverride !== override) {
|
||||
currentOverride.properties.push(prop);
|
||||
}
|
||||
} else {
|
||||
result.overrides.push(override);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user