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

FEAT #15155 TIME 0:05 fix action refactoring

parent 441f91aa
No related branches found
No related tags found
No related merge requests found
...@@ -163,7 +163,7 @@ export class SendToRecordManagementComponent implements OnInit { ...@@ -163,7 +163,7 @@ export class SendToRecordManagementComponent implements OnInit {
const dataToSend = { const dataToSend = {
'archivalAgreement': this.archivalAgreement, 'archivalAgreement': this.archivalAgreement,
'entityArchiveRecipient': this.entityArchiveRecipient, 'entityArchiveRecipient': this.entityArchiveRecipient,
'folder': this.resources.length === 1 ? this.resources[0].folder.id : null, 'folder': this.resources.length === 1 && this.folders.length > 0 ? this.resources[0].folder.id : null,
'actionMode' : mode 'actionMode' : mode
}; };
return dataToSend; return dataToSend;
......
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