From 8b84a014475776ecca2c8296bf5232a3d84b2247 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Mon, 13 Dec 2021 13:11:00 -0500 Subject: [PATCH] LP1904036 Route dialog autoprint race condition repair Signed-off-by: Bill Erickson Signed-off-by: Jane Sandberg Signed-off-by: Galen Charlton --- Open-ILS/src/eg2/src/app/staff/share/circ/route-dialog.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/eg2/src/app/staff/share/circ/route-dialog.component.ts b/Open-ILS/src/eg2/src/app/staff/share/circ/route-dialog.component.ts index f9aa4dece3..490e0659ec 100644 --- a/Open-ILS/src/eg2/src/app/staff/share/circ/route-dialog.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/share/circ/route-dialog.component.ts @@ -95,7 +95,7 @@ export class RouteDialogComponent extends DialogComponent { if (this.checkin.params.auto_print_holds_transits || this.circ.suppressCheckinPopups) { // Print and exit. - return this.print().then(_ => true); // exit + return promise.then(_ => this.print()).then(_ => true); // exit } return promise.then(_ => false); // keep going -- 2.11.0