From 2119aa1823a0ce142e712baa5a02efd6dfbf87ed Mon Sep 17 00:00:00 2001 From: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com> Date: Thu, 14 Mar 2024 13:54:17 +0100 Subject: [PATCH] add localizations and ts-ignore to get the schema generator to work --- .../workspace-entity-action-menu.element.ts | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/packages/core/workspace/components/workspace-entity-action-menu/workspace-entity-action-menu.element.ts b/src/Umbraco.Web.UI.Client/src/packages/core/workspace/components/workspace-entity-action-menu/workspace-entity-action-menu.element.ts index f98701ed54..3cab2661db 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/core/workspace/components/workspace-entity-action-menu/workspace-entity-action-menu.element.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/core/workspace/components/workspace-entity-action-menu/workspace-entity-action-menu.element.ts @@ -37,6 +37,10 @@ export class UmbWorkspaceEntityActionMenuElement extends UmbLitElement { #onActionExecuted(event: UmbActionExecutedEvent) { event.stopPropagation(); + + // TODO: This ignorer is just neede for JSON SCHEMA TO WORK, As its not updated with latest TS jet. + // eslint-disable-next-line @typescript-eslint/ban-ts-comment + // @ts-ignore this._popover?.hidePopover(); } @@ -50,8 +54,11 @@ export class UmbWorkspaceEntityActionMenuElement extends UmbLitElement { render() { return this._unique && this._entityType ? html` - - Actions + + ${this.localize.term('general_actions')}