refs #2768. Partition bug fixed
parent
c481a522da
commit
1e91ea658e
|
@ -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: () => {
|
||||
|
|
Loading…
Reference in New Issue