Skip to content

Commit

Permalink
fix(editor): icon was not visible for lit Elements (#300)
Browse files Browse the repository at this point in the history
The icon registered for lit-elements was defined as polymer.
Renamed it to litElement.
  • Loading branch information
Jefiozie authored and manekinekko committed May 13, 2019
1 parent 82c2e67 commit 5efc27b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/app.component.ts
Expand Up @@ -30,7 +30,7 @@ export class AppComponent {
iconRegistry.addSvgIcon('vue', sanitizer.bypassSecurityTrustResourceUrl('assets/codegen/vue.svg'));
iconRegistry.addSvgIcon('wc', sanitizer.bypassSecurityTrustResourceUrl('assets/codegen/wc.svg'));
iconRegistry.addSvgIcon('stencil', sanitizer.bypassSecurityTrustResourceUrl('assets/codegen/stencil.svg'));
iconRegistry.addSvgIcon('polymer', sanitizer.bypassSecurityTrustResourceUrl('assets/codegen/polymer.svg'));
iconRegistry.addSvgIcon('litElement', sanitizer.bypassSecurityTrustResourceUrl('assets/codegen/litElement.svg'));
iconRegistry.addSvgIcon('html', sanitizer.bypassSecurityTrustResourceUrl('assets/codegen/html.svg'));
iconRegistry.addSvgIcon('text', sanitizer.bypassSecurityTrustResourceUrl('assets/codegen/text.svg'));

Expand Down
Expand Up @@ -43,7 +43,7 @@
<mat-tab>
<ng-template mat-tab-label>
<div class="flex-container" (click)="generateLitElement()">
<mat-icon svgIcon="polymer"></mat-icon>
<mat-icon svgIcon="litElement"></mat-icon>
LitElement
</div>
</ng-template>
Expand Down
File renamed without changes

0 comments on commit 5efc27b

Please sign in to comment.