Fix merging groups by name
This commit is contained in:
@@ -135,9 +135,9 @@ namespace Umbraco.Core.Models
|
||||
}
|
||||
}
|
||||
|
||||
public bool Equals(PropertyGroup other) => base.Equals(other) && Name.InvariantEquals(other.Name);
|
||||
public bool Equals(PropertyGroup other) => base.Equals(other) || (other != null && Name.InvariantEquals(other.Name) && ParentKey == other.ParentKey && Type == other.Type);
|
||||
|
||||
public override int GetHashCode() => base.GetHashCode() ^ (Name?.ToLowerInvariant()).GetHashCode();
|
||||
public override int GetHashCode() => (base.GetHashCode(), Name?.ToLowerInvariant(), ParentKey, Type).GetHashCode();
|
||||
|
||||
protected override void PerformDeepClone(object clone)
|
||||
{
|
||||
|
||||
6
src/Umbraco.Web.UI.Client/package-lock.json
generated
6
src/Umbraco.Web.UI.Client/package-lock.json
generated
@@ -9362,9 +9362,9 @@
|
||||
"dev": true
|
||||
},
|
||||
"nouislider": {
|
||||
"version": "14.6.3",
|
||||
"resolved": "https://registry.npmjs.org/nouislider/-/nouislider-14.6.3.tgz",
|
||||
"integrity": "sha512-/3tAqsWY2JYW9vd7bC14bFRA1P9A+pRHOtKmoMsyfnB0fQcd1UFx2pdY1Ey5wAUzTnXTesmYaEo/ecLVETijIQ=="
|
||||
"version": "14.6.4",
|
||||
"resolved": "https://registry.npmjs.org/nouislider/-/nouislider-14.6.4.tgz",
|
||||
"integrity": "sha512-PVCGYl+aC7/nVEbW61ypJWfuW3UCpvctz/luxpt4byxxli1FFyjBX9NIiy4Yak9AaO6a5BkPGfFYMCW4eg3eeQ=="
|
||||
},
|
||||
"now-and-later": {
|
||||
"version": "2.0.1",
|
||||
|
||||
Reference in New Issue
Block a user