Skip to content
Snippets Groups Projects
Commit 2d4ffb58 authored by Alex ORLUC's avatar Alex ORLUC
Browse files

FEAT #15155 TIME 0:05 fix action refactoring

parent 0b33b9e1
No related branches found
No related tags found
No related merge requests found
......@@ -73,6 +73,7 @@ export class SendToRecordManagementComponent implements OnInit {
this.folders = data.success[resId].additionalData.folders;
}
this.resources.push({
resId: resId,
chrono: data.success[resId].data.metadata.alt_identifier,
subject: data.success[resId].data.metadata.subject,
slipId: data.success[resId].data.slipInfo.slipId,
......@@ -116,7 +117,7 @@ export class SendToRecordManagementComponent implements OnInit {
}
executeAction(mode: string) {
const realResSelected: number[] = this.data.resIds;
const realResSelected: number[] = this.resources.map((item: any) => item.resId);
this.http.put(this.data.processActionRoute, { resources: realResSelected, data: this.formatData(mode) }).pipe(
tap((data: any) => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment