fix: update command filter to use ID or UUID for selection
testing/ogGui-multibranch/pipeline/head This commit looks good
Details
testing/ogGui-multibranch/pipeline/head This commit looks good
Details
parent
a57675631f
commit
a6ce1ee4cf
|
@ -134,7 +134,7 @@ export class ClientTaskLogsComponent implements OnInit {
|
|||
}
|
||||
|
||||
onOptionCommandSelected(selectedCommand: any): void {
|
||||
this.filters['command'] = selectedCommand.name;
|
||||
this.filters['command'] = selectedCommand.id || selectedCommand.uuid;
|
||||
console.log('Comando seleccionado:', selectedCommand);
|
||||
console.log('Valor que se usará para el filtro:', selectedCommand.name);
|
||||
this.loadTraces();
|
||||
|
@ -192,7 +192,7 @@ export class ClientTaskLogsComponent implements OnInit {
|
|||
.set('itemsPerPage', this.itemsPerPage.toString());
|
||||
|
||||
if (this.filters['command']) {
|
||||
params = params.set('command.name', this.filters['command']);
|
||||
params = params.set('command.uuid', this.filters['command']);
|
||||
}
|
||||
|
||||
if (this.filters['status']) {
|
||||
|
|
Loading…
Reference in New Issue