This is an automated email from the ASF dual-hosted git repository.

dgnatyshyn pushed a commit to branch DLAB-2008
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git

commit 9f481d696a39947096b77c1331d41b545a589c40
Author: Dmytro_Gnatyshyn <di1...@ukr.net>
AuthorDate: Wed Aug 26 15:05:52 2020 +0300

    [DLAB-2008]: Fixed filter by calendar is not triggered
---
 .../webapp/src/app/reports/audit/audit-grid/audit-grid.component.ts     | 1 +
 .../src/main/resources/webapp/src/app/reports/audit/audit.component.ts  | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/services/self-service/src/main/resources/webapp/src/app/reports/audit/audit-grid/audit-grid.component.ts
 
b/services/self-service/src/main/resources/webapp/src/app/reports/audit/audit-grid/audit-grid.component.ts
index 95a36d6..e3010ec 100644
--- 
a/services/self-service/src/main/resources/webapp/src/app/reports/audit/audit-grid/audit-grid.component.ts
+++ 
b/services/self-service/src/main/resources/webapp/src/app/reports/audit/audit-grid/audit-grid.component.ts
@@ -107,6 +107,7 @@ export class AuditGridComponent implements OnInit {
   public setAvaliblePeriod(period): void {
     this.filterAuditData.date_start = period.start_date;
     this.filterAuditData.date_end = period.end_date;
+    this.buildAuditGrid(true);
   }
 
   public toggleFilterRow(): void {
diff --git 
a/services/self-service/src/main/resources/webapp/src/app/reports/audit/audit.component.ts
 
b/services/self-service/src/main/resources/webapp/src/app/reports/audit/audit.component.ts
index af3919d..14a99be 100644
--- 
a/services/self-service/src/main/resources/webapp/src/app/reports/audit/audit.component.ts
+++ 
b/services/self-service/src/main/resources/webapp/src/app/reports/audit/audit.component.ts
@@ -39,7 +39,7 @@ import {MAT_DIALOG_DATA, MatDialogRef} from 
'@angular/material/dialog';
 <!--    </dlab-toolbar>-->
 <!--    <mat-divider></mat-divider>-->
 <!--    <dlab-reporting-grid (filterReport)="filterReport($event)" 
(resetRangePicker)="resetRangePicker()"></dlab-reporting-grid>-->
-    <audit-toolbar (rebuildAudit)="rebuildAuditGrid()" (setRangeOption) = 
setRangeOption($event)>
+    <audit-toolbar (rebuildAudit)="rebuildAuditGrid()" 
(setRangeOption)="setRangeOption($event)">
     </audit-toolbar>
     <mat-divider></mat-divider>
     <dlab-audit-grid (resetDateFilter)="resetDatepicker()"></dlab-audit-grid>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@dlab.apache.org
For additional commands, e-mail: commits-h...@dlab.apache.org

Reply via email to