Browse Source

Fixes icons in action item component

main
Keith Daulton 1 year ago
parent
commit
b180bffa99
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/webviews/apps/shared/components/actions/action-item.ts

+ 2
- 2
src/webviews/apps/shared/components/actions/action-item.ts View File

@ -43,7 +43,7 @@ export class ActionItem extends LitElement {
@property() @property()
icon = ''; icon = '';
overriderender() {
override render() {
return html` return html`
<a <a
role="${!this.href ? 'button' : nothing}" role="${!this.href ? 'button' : nothing}"
@ -51,7 +51,7 @@ export class ActionItem extends LitElement {
aria-label="${this.label}" aria-label="${this.label}"
title="${this.label}" title="${this.label}"
> >
<code-icon .icon="${this.icon}"></code-icon>
<code-icon icon="${this.icon}"></code-icon>
</a> </a>
`; `;
} }

Loading…
Cancel
Save