rename property actions to menu

This commit is contained in:
Mads Rasmussen
2022-07-04 12:06:47 +02:00
parent a93af67052
commit bc69709d6d

View File

@@ -137,7 +137,7 @@ class UmbNodeProperty extends UmbContextConsumerMixin(LitElement) {
this._dataTypeSubscription?.unsubscribe();
}
private _renderPropertyActions () {
private _renderPropertyActionMenu () {
return html`${ this._dataType ? html`<umb-property-action-menu .propertyEditorUIAlias="${this._dataType.propertyEditorUIAlias}" .value="${this.value}"></umb-property-action-menu>`: '' }`;
}
@@ -146,7 +146,7 @@ class UmbNodeProperty extends UmbContextConsumerMixin(LitElement) {
<umb-editor-property-layout>
<div slot="header">
<uui-label>${this.property.label}</uui-label>
${ this._renderPropertyActions() }
${ this._renderPropertyActionMenu() }
<p>${this.property.description}</p>
</div>
<div slot="editor">${this._element}</div>