Merge pull request #10369 from vvlladd28/improvement/notificatiobn-setting/expaned-set
Improved notification settings behavior
This commit is contained in:
commit
01250f13e6
@ -30,7 +30,7 @@
|
||||
<section class="tb-form-panel tb-slide-toggle stroked"
|
||||
[formGroupName]="NotificationDeliveryMethod.WEB"
|
||||
*ngIf="templateConfigurationForm.get('WEB.enabled').value">
|
||||
<mat-expansion-panel class="tb-settings" expanded>
|
||||
<mat-expansion-panel class="tb-settings" [expanded]="templateConfigurationForm.get('WEB').invalid">
|
||||
<mat-expansion-panel-header fxLayout="row wrap" class="fill-width">
|
||||
<mat-panel-title class="template-tittle">
|
||||
<tb-icon>{{ NotificationDeliveryMethodInfoMap.get(NotificationDeliveryMethod.WEB).icon }}</tb-icon>
|
||||
@ -83,7 +83,7 @@
|
||||
<section class="tb-form-panel tb-slide-toggle stroked"
|
||||
[formGroupName]="NotificationDeliveryMethod.MOBILE_APP"
|
||||
*ngIf="templateConfigurationForm.get('MOBILE_APP.enabled').value">
|
||||
<mat-expansion-panel class="tb-settings" expanded>
|
||||
<mat-expansion-panel class="tb-settings" [expanded]="templateConfigurationForm.get('MOBILE_APP').invalid">
|
||||
<mat-expansion-panel-header fxLayout="row wrap" class="fill-width">
|
||||
<mat-panel-title class="template-tittle">
|
||||
<tb-icon>{{ NotificationDeliveryMethodInfoMap.get(NotificationDeliveryMethod.MOBILE_APP).icon }}</tb-icon>
|
||||
@ -148,7 +148,7 @@
|
||||
<section class="tb-form-panel tb-slide-toggle stroked"
|
||||
[formGroupName]="NotificationDeliveryMethod.SMS"
|
||||
*ngIf="templateConfigurationForm.get('SMS.enabled').value">
|
||||
<mat-expansion-panel class="tb-settings" expanded>
|
||||
<mat-expansion-panel class="tb-settings" [expanded]="templateConfigurationForm.get('SMS').invalid">
|
||||
<mat-expansion-panel-header fxLayout="row wrap" class="fill-width">
|
||||
<mat-panel-title class="template-tittle">
|
||||
<tb-icon>{{ NotificationDeliveryMethodInfoMap.get(NotificationDeliveryMethod.SMS).icon }}</tb-icon>
|
||||
@ -180,7 +180,7 @@
|
||||
<section class="tb-form-panel tb-slide-toggle stroked"
|
||||
[formGroupName]="NotificationDeliveryMethod.EMAIL"
|
||||
*ngIf="templateConfigurationForm.get('EMAIL.enabled').value">
|
||||
<mat-expansion-panel class="tb-settings" expanded>
|
||||
<mat-expansion-panel class="tb-settings" [expanded]="templateConfigurationForm.get('EMAIL').invalid">
|
||||
<mat-expansion-panel-header fxLayout="row wrap" class="fill-width">
|
||||
<mat-panel-title class="template-tittle">
|
||||
<tb-icon>{{ NotificationDeliveryMethodInfoMap.get(NotificationDeliveryMethod.EMAIL).icon }}</tb-icon>
|
||||
@ -210,7 +210,7 @@
|
||||
<section class="tb-form-panel tb-slide-toggle stroked"
|
||||
[formGroupName]="NotificationDeliveryMethod.SLACK"
|
||||
*ngIf="templateConfigurationForm.get('SLACK.enabled').value">
|
||||
<mat-expansion-panel class="tb-settings" expanded>
|
||||
<mat-expansion-panel class="tb-settings" [expanded]="templateConfigurationForm.get('SLACK').invalid">
|
||||
<mat-expansion-panel-header fxLayout="row wrap" class="fill-width">
|
||||
<mat-panel-title class="template-tittle">
|
||||
<tb-icon>{{ NotificationDeliveryMethodInfoMap.get(NotificationDeliveryMethod.SLACK).icon }}</tb-icon>
|
||||
@ -236,7 +236,7 @@
|
||||
<section class="tb-form-panel tb-slide-toggle stroked"
|
||||
[formGroupName]="NotificationDeliveryMethod.MICROSOFT_TEAMS"
|
||||
*ngIf="templateConfigurationForm.get('MICROSOFT_TEAMS.enabled').value">
|
||||
<mat-expansion-panel class="tb-settings" expanded>
|
||||
<mat-expansion-panel class="tb-settings" [expanded]="templateConfigurationForm.get('MICROSOFT_TEAMS').invalid">
|
||||
<mat-expansion-panel-header fxLayout="row wrap" class="fill-width">
|
||||
<mat-panel-title class="template-tittle">
|
||||
<tb-icon>{{ NotificationDeliveryMethodInfoMap.get(NotificationDeliveryMethod.MICROSOFT_TEAMS).icon }}</tb-icon>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user