UI: Fixed template notification view

This commit is contained in:
Vladyslav_Prykhodko 2023-04-13 17:40:57 +03:00
parent 96ec9a133a
commit f905533df9

View File

@ -54,10 +54,8 @@
</mat-select> </mat-select>
</mat-form-field> </mat-form-field>
<section formGroupName="configuration"> <section formGroupName="configuration">
<label class="tb-title tb-required" <label [ngClass]="{'tb-error': templateNotificationForm.get('configuration.deliveryMethodsTemplates').hasError('atLeastOne')}"
[ngClass]="{'tb-error': templateNotificationForm.get('configuration.deliveryMethodsTemplates').hasError('atLeastOne')}"> class="tb-title tb-required">{{ "notification.delivery-methods" | translate }}</label>
{{ "notification.delivery-methods" | translate }}
</label>
<div class="tb-hint" translate>notification.at-least-one-should-be-selected</div> <div class="tb-hint" translate>notification.at-least-one-should-be-selected</div>
<section formGroupName="deliveryMethodsTemplates" fxLayout="row warap"> <section formGroupName="deliveryMethodsTemplates" fxLayout="row warap">
<section *ngFor="let deliveryMethods of notificationDeliveryMethods; even as isEven" class="delivery-method-container" <section *ngFor="let deliveryMethods of notificationDeliveryMethods; even as isEven" class="delivery-method-container"