From: Bill Erickson Date: Tue, 22 Jun 2021 20:18:18 +0000 (-0400) Subject: LP1929741 Clear previous PO on new PO create X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=cdd0f3e8ab4dc9bf373c0fed9313004bd3bf8407;p=working%2FEvergreen.git LP1929741 Clear previous PO on new PO create Signed-off-by: Bill Erickson Signed-off-by: Galen Charlton Signed-off-by: Jane Sandberg --- diff --git a/Open-ILS/src/eg2/src/app/staff/acq/po/create.component.ts b/Open-ILS/src/eg2/src/app/staff/acq/po/create.component.ts index fc287f2b3f..b0b33143f9 100644 --- a/Open-ILS/src/eg2/src/app/staff/acq/po/create.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/acq/po/create.component.ts @@ -46,6 +46,8 @@ export class PoCreateComponent implements OnInit { ) {} ngOnInit() { + this.poService.currentPo = null; + this.route.queryParamMap.subscribe((params: ParamMap) => { this.lineitems = params.getAll('li').map(id => Number(id)); });