Browse Source

Timewindow: fix updating group interval and making form dirty when NONE aggregation selected

pull/12151/head
Chantsova Ekaterina 2 years ago
parent
commit
633530c3e1
  1. 4
      ui-ngx/src/app/shared/components/time/timewindow-panel.component.html

4
ui-ngx/src/app/shared/components/time/timewindow-panel.component.html

@ -141,8 +141,8 @@
</section> </section>
</ng-container> </ng-container>
<section class="tb-form-row column-xs same-padding" [class.!hidden]="!(isEdit || !timewindow.hideAggInterval) <section class="tb-form-row column-xs same-padding" *ngIf="timewindowForm.get('aggregation.type').value !== aggregationTypes.NONE"
|| timewindowForm.get('aggregation.type').value === aggregationTypes.NONE"> [class.!hidden]="!(isEdit || !timewindow.hideAggInterval)">
<ng-container formGroupName="realtime" *ngIf="timewindowForm.get('selectedTab').value === timewindowTypes.REALTIME"> <ng-container formGroupName="realtime" *ngIf="timewindowForm.get('selectedTab').value === timewindowTypes.REALTIME">
<tb-timeinterval <tb-timeinterval
formControlName="interval" formControlName="interval"

Loading…
Cancel
Save