From 92890baed555ee1d4772ea7e61cf0fdd85b7e83c Mon Sep 17 00:00:00 2001 From: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com> Date: Thu, 29 Feb 2024 08:46:38 +0100 Subject: [PATCH] remove destroy since it already happens automatically --- .../property-action-menu/property-action-menu.element.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/packages/core/property-action/shared/property-action-menu/property-action-menu.element.ts b/src/Umbraco.Web.UI.Client/src/packages/core/property-action/shared/property-action-menu/property-action-menu.element.ts index 34b786cca7..7aeeafff2b 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/core/property-action/shared/property-action-menu/property-action-menu.element.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/core/property-action/shared/property-action-menu/property-action-menu.element.ts @@ -26,9 +26,6 @@ export class UmbPropertyActionMenuElement extends UmbLitElement { @property() set propertyEditorUiAlias(alias: string) { - // If there is an existing initializer, we need to dispose it. - this.#actionsInitializer?.destroy(); - this.#propertyEditorUiAlias = alias; // TODO: Stop using string for 'propertyAction', we need to start using Const. // TODO: Align property actions with entity actions.