diff --git a/src/Umbraco.Web.UI.Client/src/packages/core/content-type/structure/content-type-property-structure-helper.class.ts b/src/Umbraco.Web.UI.Client/src/packages/core/content-type/structure/content-type-property-structure-helper.class.ts index 8784968913..7253d4f84f 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/core/content-type/structure/content-type-property-structure-helper.class.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/core/content-type/structure/content-type-property-structure-helper.class.ts @@ -77,7 +77,6 @@ export class UmbContentTypePropertyStructureHelper { @@ -164,25 +163,6 @@ export class UmbContentTypePropertyStructureHelper { - // Lets remove the properties that does not exists any longer: [NL] - const uniquesToRemove = this.#propertyStructure - .getValue() - .filter((x) => !(x.container?.id === groupId && !properties.some((y) => y.id === x.id))) - .map((X) => X.id); - - this.#propertyStructure.remove(uniquesToRemove); - this.#propertyStructure.append(properties); - }, - '_observePropertyStructureOfGroup' + groupId, - ); - }*/ async isOwnerProperty(propertyId: UmbPropertyTypeId) { await this.#init;