refs #2768. Partition bug fixed

pull/44/head
Manuel Aranda Rosales 2025-09-09 19:22:57 +02:00
parent c481a522da
commit 1e91ea658e
1 changed files with 5 additions and 2 deletions

View File

@ -655,10 +655,13 @@ export class PartitionAssistantComponent implements OnInit, AfterViewInit, OnDes
clients: this.selectedClients.map((client: any) => client.uuid),
};
const commandTaskId = result['@id'] || result.taskId['@id'];
const order = result.executionOrder || 1;
this.http.post(`${this.baseUrl}/command-task-scripts`, {
commandTask: result['@id'],
commandTask: commandTaskId,
parameters: bulkPayload.partitions,
order: 1,
order: order,
type: 'partition-assistant',
}).subscribe({
next: () => {