data['auditLogResolver']);
@@ -79,6 +91,7 @@ export class AuditLogComponent implements OnInit {
this.projectId = +this.route.snapshot.parent.params['id'];
this.queryParam.project_id = this.projectId;
this.queryParam.page_size = this.pageSize;
+
}
retrieve(state?: State): void {
@@ -113,18 +126,18 @@ export class AuditLogComponent implements OnInit {
return strDate;
}
- doSearchByStartTime(valid: boolean, strDate: string): void {
+ doSearchByStartTime(strDate: string): void {
this.queryParam.begin_timestamp = 0;
- if(valid && strDate){
+ if(this.fromTimeInput.valid && strDate){
strDate = this.convertDate(strDate);
this.queryParam.begin_timestamp = new Date(strDate).getTime() / 1000;
}
this.retrieve();
}
- doSearchByEndTime(valid: boolean, strDate: string): void {
+ doSearchByEndTime(strDate: string): void {
this.queryParam.end_timestamp = 0;
- if(valid && strDate) {
+ if(this.toTimeInput.valid && strDate) {
strDate = this.convertDate(strDate);
let oneDayOffset = 3600 * 24;
this.queryParam.end_timestamp = new Date(strDate).getTime() / 1000 + oneDayOffset;
diff --git a/src/ui_ng/src/app/project/create-project/create-project.component.html b/src/ui_ng/src/app/project/create-project/create-project.component.html
index 2fa899a64..5ccdd2b0d 100644
--- a/src/ui_ng/src/app/project/create-project/create-project.component.html
+++ b/src/ui_ng/src/app/project/create-project/create-project.component.html
@@ -6,7 +6,7 @@