fix: update command filter to use ID or UUID for selection
testing/ogGui-multibranch/pipeline/head This commit looks good Details

pull/23/head
Lucas Lara García 2025-05-19 13:32:00 +02:00
parent a57675631f
commit a6ce1ee4cf
1 changed files with 2 additions and 2 deletions

View File

@ -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']) {