fix: Remove wrong required text in Group transfer clients dialog (#2341)

Removes a wrong required text in the group transfer clients dialog
and prevents empty fields appear below before a destination
group is found.

Fixes: WEB-82
This commit is contained in:
Felix van Hove
2025-03-22 13:58:54 -06:00
committed by GitHub
parent 6615b64620
commit 54a07bcb75
@@ -10,10 +10,6 @@
{{ member.displayName }}
</mat-option>
</mat-select>
<mat-error *ngIf="transferClientsForm.controls.clients.hasError('required')">
{{ 'labels.inputs.Office' | translate }} {{ 'labels.commons.is' | translate }}
<strong>{{ 'labels.commons.required' | translate }}</strong>
</mat-error>
</mat-form-field>
<mat-checkbox
@@ -40,7 +36,7 @@
</mat-option>
</mat-autocomplete>
<div class="mat-table" *ngIf="transferClientsForm.get('destinationGroupId').value">
<div class="mat-table" *ngIf="transferClientsForm.get('destinationGroupId').value?.id">
<div class="mat-header-row">
<div class="mat-header-cell">{{ 'labels.inputs.Destination Group Details' | translate }}</div>
</div>