Enhance resetFilters method to include client input parameter and update template button accordingly
testing/ogGui-multibranch/pipeline/head There was a failure building this commit
Details
testing/ogGui-multibranch/pipeline/head There was a failure building this commit
Details
parent
28336603ad
commit
5777be9417
|
@ -9,7 +9,7 @@
|
|||
</div>
|
||||
|
||||
<div class="images-button-row">
|
||||
<button class="action-button" (click)="resetFilters(commandSearchInput, commandStatusInput)"
|
||||
<button class="action-button" (click)="resetFilters(commandSearchInput, commandStatusInput, commandClientInput)"
|
||||
joyrideStep="resetFiltersStep" text="{{ 'resetFiltersStepText' | translate }}">
|
||||
{{ 'resetFilters' | translate }}
|
||||
</button>
|
||||
|
|
|
@ -262,10 +262,11 @@ export class TaskLogsComponent implements OnInit {
|
|||
}
|
||||
|
||||
|
||||
resetFilters(clientSearchCommandInput: any, clientSearchStatusInput: any) {
|
||||
resetFilters(clientSearchCommandInput: any, clientSearchStatusInput: any, clientSearchClientInput: any) {
|
||||
this.loading = true;
|
||||
clientSearchCommandInput.value = null;
|
||||
clientSearchStatusInput.value = null;
|
||||
clientSearchClientInput.value = null;
|
||||
this.filters = {};
|
||||
this.loadTraces();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue