MOBILE-4290 login: Fix site help
QR question logic was inverted, and classes weren't applied properly
This commit is contained in:
		
							parent
							
								
									9b182bb714
								
							
						
					
					
						commit
						e663ee1d9a
					
				| @ -23,7 +23,7 @@ | ||||
|                 </ion-label> | ||||
|             </ion-item> | ||||
|             <ion-item [id]="'question-' + question.id + '-answer'" | ||||
|                 [class]="question.answer.class + 'ion-text-wrap core-login-site-help--answer'" [class.open]="isOpen(question)" | ||||
|                 [class]="question.answer.class + ' ion-text-wrap core-login-site-help--answer'" [class.open]="isOpen(question)" | ||||
|                 [tabindex]="isOpen(question) ? null : -1" [attr.inert]="isOpen(question) ? null : 'true'"> | ||||
|                 <ion-label> | ||||
|                     <p *ngIf="question.answer.format === 'text'">{{ question.answer.text }}</p> | ||||
|  | ||||
| @ -38,7 +38,7 @@ export class CoreLoginSiteHelpComponent implements AfterViewInit, OnDestroy { | ||||
| 
 | ||||
|     constructor(protected el: ElementRef<HTMLElement>) { | ||||
|         const getStartedTitle = Translate.instant('core.login.faqsetupsitelinktitle'); | ||||
|         const canScanQR = !CoreUtils.canScanQR(); | ||||
|         const canScanQR = CoreUtils.canScanQR(); | ||||
|         const urlImageHtml = CoreLoginHelperProvider.FAQ_URL_IMAGE_HTML; | ||||
|         const qrCodeImageHtml = CoreLoginHelperProvider.FAQ_QRCODE_IMAGE_HTML; | ||||
|         const setupLinkHtml = `<a href="${GET_STARTED_URL}" title="${getStartedTitle}">${GET_STARTED_URL}</a>`; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user