Skip to content

Commit

Permalink
fix: svg repetition in config
Browse files Browse the repository at this point in the history
  • Loading branch information
eiladin committed Feb 1, 2021
1 parent 8152088 commit 190010a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ui/src/app/config/config/config.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ <h3 class="mat-subheading-1">Sites</h3>
<mat-expansion-panel *ngFor="let site of config.sites; let i = index" hideToggle>
<mat-expansion-panel-header>
<mat-panel-title>
<span class="iconify icon" *ngIf="!site.isSupportedApp" [attr.data-icon]="site.mdiicon()"></span>
<!-- <mat-icon *ngIf="!site.isSupportedApp">{{site.icon}}</mat-icon> -->
<div *ngIf="!site.isSupportedApp"><span class="iconify icon" [attr.data-icon]="site.mdiicon()"></span></div>
<img *ngIf="site.isSupportedApp" class="site-image" src="/assets/supportedapps/{{site.icon}}" />
<span class="friendly-name">{{site.name || 'Unknown'}}</span>
</mat-panel-title>
Expand Down

0 comments on commit 190010a

Please sign in to comment.