Browse Source
Merge pull request #14434 from mtsymbarov-del/feat/audit-log-filters
Fixed reseting of audit log filter values before first submit
pull/14449/head
Vladyslav Prykhodko
10 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
ui-ngx/src/app/modules/home/components/audit-log/audit-log-filter.component.ts
|
|
|
@ -162,7 +162,7 @@ export class AuditLogFilterComponent implements OnInit, ControlValueAccessor { |
|
|
|
|
|
|
|
reset() { |
|
|
|
if (this.initialAuditLogFilter) { |
|
|
|
if (!auditLogFilterEquals(this.auditLogFilter, this.initialAuditLogFilter)) { |
|
|
|
if (!auditLogFilterEquals(this.auditLogFilterForm.value, this.initialAuditLogFilter)) { |
|
|
|
this.updateAuditLogFilterForm(this.initialAuditLogFilter); |
|
|
|
this.auditLogFilterForm.markAsDirty(); |
|
|
|
} |
|
|
|
|