Commit ceab5878 authored by Alex ORLUC's avatar Alex ORLUC
Browse files

FIX #17109 TIME 0:10 fix role display in otp creation

parent c0559472
......@@ -26,7 +26,7 @@
<app-otp-yousign #appOtpYousign *ngIf="currentSource && currentSource.type === 'yousign'" [connectorId]="connectorId" [otpYousign]="data"></app-otp-yousign>
<ion-card>
<ion-item color="primary">
<ion-label class="info" [innerHTML]="(appOtpYousign?.getData().role !== 'visa_yousign' ? 'lang.otpMsg' : 'lang.otpVisaUser') | translate : { security : appOtpYousign?.getSecurityMode()}"></ion-label>
<ion-label class="info" [innerHTML]="(appOtpYousign?.getData().role !== 'otp_visa_yousign' ? 'lang.otpMsg' : 'lang.otpVisaUser') | translate : { security : appOtpYousign?.getSecurityMode()}"></ion-label>
</ion-item>
</ion-card>
</ion-content>
......
......@@ -35,7 +35,7 @@
</div>
</ion-radio-group>
</ion-list>
<ion-list *ngIf="securityModes.length > 1 && otp.role !== 'visa'">
<ion-list *ngIf="securityModes.length > 1 && otp.role !== 'otp_visa_yousign'">
<ion-item>
<ion-label color="secondary" position="floating">{{'lang.securityCodeSendMode' | translate}} *</ion-label>
<ion-select name="mode" [(ngModel)]="otp.security" [value]="otp.security"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment