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

FEAT #15155 TIME 0:10 fix action refactoring

parent b9cf3cfb
No related branches found
No related tags found
No related merge requests found
...@@ -178,10 +178,10 @@ export class SendToRecordManagementComponent implements OnInit { ...@@ -178,10 +178,10 @@ export class SendToRecordManagementComponent implements OnInit {
} }
isValid() { isValid() {
if (this.resources.length === 1) { if (this.resources.length === 1 && this.folders.length > 0) {
return !this.functions.empty(this.archivalAgreement) && !this.functions.empty(this.entityArchiveRecipient) && !this.functions.empty(this.resources[0].folder); return !this.functions.empty(this.archivalAgreement) && !this.functions.empty(this.entityArchiveRecipient) && !this.functions.empty(this.resources[0].folder);
} else { } else {
return !this.functions.empty(this.archivalAgreement) && !this.functions.empty(this.entityArchiveRecipient); return !this.functions.empty(this.archivalAgreement) && !this.functions.empty(this.entityArchiveRecipient);
} }
} }
} }
\ No newline at end of file
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