Skip to content

Commit

Permalink
menu item select only correction
Browse files Browse the repository at this point in the history
  • Loading branch information
nielslyngsoe committed Nov 27, 2024
1 parent a7290ee commit 8335188
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/uui-menu-item/lib/uui-menu-item.element.ts
Original file line number Diff line number Diff line change
Expand Up @@ -226,12 +226,12 @@ export class UUIMenuItemElement extends SelectOnlyMixin(
?open=${this.showChildren}></uui-symbol-expand>
</button>`
: ''}
${this.href ? this._renderLabelAsAnchor() : this._renderLabelAsButton()}
${this.href && !this.selectOnly
? this._renderLabelAsAnchor()
: this._renderLabelAsButton()}
<div id="label-button-background"></div>
${this.selectOnly === false
? html`<slot id="actions-container" name="actions"></slot>`
: ''}
<slot id="actions-container" name="actions"></slot>
${this.loading
? html`<uui-loader-bar id="loader"></uui-loader-bar>`
: ''}
Expand Down

0 comments on commit 8335188

Please sign in to comment.