Merge pull request #3576 from dpalou/MOBILE-4271
MOBILE-4271 login: Dont display OAuth icon if emptymain
commit
899356d956
|
@ -83,7 +83,7 @@
|
||||||
</ion-item>
|
</ion-item>
|
||||||
<ion-button fill="outline" *ngFor="let provider of identityProviders" class="ion-text-wrap ion-margin core-oauth-provider"
|
<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">
|
(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-label>{{provider.name}}</ion-label>
|
||||||
</ion-button>
|
</ion-button>
|
||||||
</ion-list>
|
</ion-list>
|
||||||
|
|
|
@ -110,7 +110,7 @@
|
||||||
<ion-button [fill]="'outline'" *ngFor="let provider of identityProviders"
|
<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"
|
class="ion-text-wrap ion-margin core-oauth-provider" (click)="oauthClicked(provider)" [attr.aria-label]="provider.name"
|
||||||
expand="block">
|
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-label>{{ provider.name }}</ion-label>
|
||||||
</ion-button>
|
</ion-button>
|
||||||
</ion-list>
|
</ion-list>
|
||||||
|
|
Loading…
Reference in New Issue