RED-7761 - removed also the "paragraph" field when "reason" is not available

This commit is contained in:
Valentin Mihai 2023-12-06 18:04:06 +02:00
parent 1ed6c956eb
commit 641f24e0c9

View File

@ -38,8 +38,7 @@
</mat-form-field> </mat-form-field>
</div> </div>
<ng-container *ngIf="showExtras"> <ng-container *ngIf="showExtras && !hiddenReason">
<ng-container *ngIf="!hiddenReason">
<div [class.required]="!form.controls.reason.disabled" class="iqser-input-group w-450"> <div [class.required]="!form.controls.reason.disabled" class="iqser-input-group w-450">
<label [translate]="'edit-redaction.dialog.content.reason'"></label> <label [translate]="'edit-redaction.dialog.content.reason'"></label>
<mat-form-field> <mat-form-field>
@ -69,7 +68,6 @@
type="text" type="text"
/> />
</div> </div>
</ng-container>
<div class="iqser-input-group w-450"> <div class="iqser-input-group w-450">
<label [translate]="'edit-redaction.dialog.content.section'"></label> <label [translate]="'edit-redaction.dialog.content.section'"></label>