MOBILE-3320 login: Fix sites list

main
Noel De Martin 2021-05-05 17:40:08 +02:00
parent 477daeb056
commit 193be52ffa
2 changed files with 2 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

View File

@ -63,7 +63,7 @@
<ion-spinner></ion-spinner> <ion-spinner></ion-spinner>
</div> </div>
<ng-container *ngFor="let site of sites"> <ng-container *ngFor="let site of sites">
<ng-container *ngTemplateOutlet="site; context: {site: site}"></ng-container> <ng-container *ngTemplateOutlet="sitelisting; context: {site: site}"></ng-container>
</ng-container> </ng-container>
</div> </div>
</ion-list> </ion-list>
@ -118,7 +118,7 @@
</ion-content> </ion-content>
<!-- Template site selector. --> <!-- Template site selector. -->
<ng-template #site let-site="site"> <ng-template #sitelisting let-site="site">
<ion-item button (click)="connect($event, site.url, site)" [attr.aria-label]="site.name" detail="true"> <ion-item button (click)="connect($event, site.url, site)" [attr.aria-label]="site.name" detail="true">
<ion-thumbnail *ngIf="siteFinderSettings.displayimage" slot="start"> <ion-thumbnail *ngIf="siteFinderSettings.displayimage" slot="start">
<img [src]="site.imageurl" *ngIf="site.imageurl" onError="this.src='assets/icon/icon.png'" alt="" role="presentation"> <img [src]="site.imageurl" *ngIf="site.imageurl" onError="this.src='assets/icon/icon.png'" alt="" role="presentation">