Merge pull request #3576 from dpalou/MOBILE-4271
MOBILE-4271 login: Dont display OAuth icon if empty
This commit is contained in:
		
						commit
						899356d956
					
				| @ -83,7 +83,7 @@ | ||||
|             </ion-item> | ||||
|             <ion-button fill="outline" *ngFor="let provider of identityProviders" class="ion-text-wrap ion-margin core-oauth-provider" | ||||
|                 (click)="oauthClicked(provider)" [attr.aria-label]="provider.name" expand="block"> | ||||
|                 <img [src]="provider.iconurl" alt="" width="32" height="32" slot="start"> | ||||
|                 <img *ngIf="provider.iconurl" [src]="provider.iconurl" alt="" width="32" height="32" slot="start" aria-hidden="true"> | ||||
|                 <ion-label>{{provider.name}}</ion-label> | ||||
|             </ion-button> | ||||
|         </ion-list> | ||||
|  | ||||
| @ -110,7 +110,7 @@ | ||||
|                 <ion-button [fill]="'outline'" *ngFor="let provider of identityProviders" | ||||
|                     class="ion-text-wrap ion-margin core-oauth-provider" (click)="oauthClicked(provider)" [attr.aria-label]="provider.name" | ||||
|                     expand="block"> | ||||
|                     <img [src]="provider.iconurl" alt="" width="32" height="32" slot="start"> | ||||
|                     <img *ngIf="provider.iconurl" [src]="provider.iconurl" alt="" width="32" height="32" slot="start" aria-hidden="true"> | ||||
|                     <ion-label>{{ provider.name }}</ion-label> | ||||
|                 </ion-button> | ||||
|             </ion-list> | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user