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

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


The following commit(s) were added to refs/heads/develop by this push:
     new d26be3e  [DLAB-2008]: Fixed filter by calendar issue on the audit page 
(#876)
d26be3e is described below

commit d26be3e0e43504bce61733a3c94752a4d6f4232b
Author: Dmytro Gnatyshyn <42860905+dg1...@users.noreply.github.com>
AuthorDate: Wed Aug 26 18:07:16 2020 +0300

    [DLAB-2008]: Fixed filter by calendar issue on the audit page (#876)
    
    [DLAB-2008]: Fixed filter by calendar issue on the audit page
---
 .../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