From de3d4884d3bf4d7df36f4ac8ca28583596730809 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20Lyngs=C3=B8?= Date: Wed, 4 Jan 2023 10:21:47 +0100 Subject: [PATCH] simpler actions type --- .../property-action-menu/property-action-menu.element.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-actions/shared/property-action-menu/property-action-menu.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-actions/shared/property-action-menu/property-action-menu.element.ts index 97916fcee8..cd9486f22a 100644 --- a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-actions/shared/property-action-menu/property-action-menu.element.ts +++ b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-actions/shared/property-action-menu/property-action-menu.element.ts @@ -65,7 +65,7 @@ export class UmbPropertyActionMenuElement extends UmbLitElement { } private _observePropertyActions() { - this.observe( + this.observe( umbExtensionsRegistry .extensionsOfType('propertyAction') .pipe( @@ -98,7 +98,7 @@ export class UmbPropertyActionMenuElement extends UmbLitElement { render() { return html` - ${this._actions?.length > 0 + ${this._actions.length > 0 ? html`