From 868855bb98ce4252f5352799789c10f09c04446b Mon Sep 17 00:00:00 2001 From: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com> Date: Wed, 28 Feb 2024 11:19:46 +0100 Subject: [PATCH] fix lit warning with missing getter --- .../property-action-menu/property-action-menu.element.ts | 7 +++++++ 1 file changed, 7 insertions(+) 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 023e5863d3..b8af412389 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 @@ -24,8 +24,11 @@ export class UmbPropertyActionMenuElement extends UmbLitElement { private _value?: unknown; + #propertyEditorUiAlias = ''; + @property() set propertyEditorUiAlias(alias: string) { + this.#propertyEditorUiAlias = alias; // TODO: Stop using string for 'propertyAction', we need to start using Const. // TODO: Align property actions with entity actions. this.#actionsInitializer = new UmbExtensionsElementInitializer( @@ -39,6 +42,10 @@ export class UmbPropertyActionMenuElement extends UmbLitElement { 'extensionsInitializer', ); } + get propertyEditorUiAlias() { + return this.#propertyEditorUiAlias; + } + @state() private _actions: Array> = [];