We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7290ee commit 8335188Copy full SHA for 8335188
packages/uui-menu-item/lib/uui-menu-item.element.ts
@@ -226,12 +226,12 @@ export class UUIMenuItemElement extends SelectOnlyMixin(
226
?open=${this.showChildren}></uui-symbol-expand>
227
</button>`
228
: ''}
229
- ${this.href ? this._renderLabelAsAnchor() : this._renderLabelAsButton()}
+ ${this.href && !this.selectOnly
230
+ ? this._renderLabelAsAnchor()
231
+ : this._renderLabelAsButton()}
232
233
<div id="label-button-background"></div>
- ${this.selectOnly === false
- ? html`<slot id="actions-container" name="actions"></slot>`
234
- : ''}
+ <slot id="actions-container" name="actions"></slot>
235
${this.loading
236
? html`<uui-loader-bar id="loader"></uui-loader-bar>`
237
0 commit comments