Workspace Actions: set attributes on the right element for label to work (#20178)

set attributes on the right element
This commit is contained in:
Niels Lyngsø
2025-09-18 13:34:36 +02:00
committed by GitHub
parent f23050d5c6
commit 1660e69681

View File

@@ -31,11 +31,10 @@ export class UmbWorkspaceEntityActionMenuElement extends UmbLitElement {
if (!this._entityType) return nothing;
if (this._unique === undefined) return nothing;
return html`<umb-entity-actions-dropdown>
<uui-symbol-more
slot="label"
data-mark="workspace:action-menu-button"
label=${this.localize.term('general_actions')}></uui-symbol-more>
return html`<umb-entity-actions-dropdown
data-mark="workspace:action-menu-button"
label=${this.localize.term('general_actions')}>
<uui-symbol-more slot="label"></uui-symbol-more>
</umb-entity-actions-dropdown>`;
}