Skip to content

Commit

Permalink
Removing encryption option on export for ACET and ISE
Browse files Browse the repository at this point in the history
  • Loading branch information
MathesonBrett committed Nov 10, 2023
1 parent 51e5638 commit bc1eb6c
Showing 1 changed file with 12 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,14 +91,20 @@ <h3 class="mt-0" *ngIf="sortedAssessments?.length > 0">{{ t('my assessments') }}
</label>
</div>


<!-- Don't show the encryption for ACET/ISE. They don't want it. -->
<div *ngIf="!this.ncuaSvc.switchStatus">
<mat-checkbox color="primary" [(ngModel)]="preventEncrypt" (change)="updateEncryptPreference()"
[disabled]="disabledEncrypt"
matTooltip="{{ t('tooltip.prevent encryption') }}"
style="margin-left: auto; margin-right: 0; border: 2px solid gray">
<label style="margin-top: 15px; padding-right: 10px;">{{t('prevent encryption')}}</label>
</mat-checkbox>
<div *ngIf="this.configSvc.installationMode != 'ACET'">
<mat-checkbox color="primary" [(ngModel)]="preventEncrypt" (change)="updateEncryptPreference()"
[disabled]="disabledEncrypt"
matTooltip="{{ t('tooltip.prevent encryption') }}"
style="margin-left: auto; margin-right: 0; border: 2px solid gray">
<label style="margin-top: 15px; padding-right: 10px;">{{t('prevent encryption')}}</label>
</mat-checkbox>
</div>
</div>


</div>
<div *ngIf="unsupportedImportFile"
class="alert-danger mt-4 mb-4 d-flex flex-row justify-content-center align-items-center flex-00a">
Expand Down

0 comments on commit bc1eb6c

Please sign in to comment.