From c91d0dd0a973054709e3331f3beac36fbb64ab0e Mon Sep 17 00:00:00 2001 From: Mads Rasmussen Date: Mon, 19 Aug 2024 09:56:49 +0200 Subject: [PATCH] Update property.context.ts --- .../packages/core/property/property/property.context.ts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/packages/core/property/property/property.context.ts b/src/Umbraco.Web.UI.Client/src/packages/core/property/property/property.context.ts index 02f2ece65d..d80283f5a9 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/core/property/property/property.context.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/core/property/property/property.context.ts @@ -111,15 +111,6 @@ export class UmbPropertyContext extends UmbContextBase { - // always allow invariant properties to be editable - const isInvariant = this.#variantId?.getValue()?.isInvariant(); - - // always allow editing invariant properties - if (isInvariant) { - this.#isReadOnly.setValue(false); - return; - } - this.#isReadOnly.setValue(value); }); }