From 1dc78cae8deb598bd534e52b97e6f494ae5dea03 Mon Sep 17 00:00:00 2001 From: Alicia Zangger Date: Mon, 24 Aug 2020 15:08:56 +0200 Subject: [PATCH] circulation: fix patron info in loan view * Fixes patron info in loan view: it couldn't be removed in order to go to checkin view (displayPatronMode is setted to false in checkin view and not updated when going to loan view). Co-Authored-by: Alicia Zangger --- projects/admin/src/app/circulation/patron/loan/loan.component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/admin/src/app/circulation/patron/loan/loan.component.ts b/projects/admin/src/app/circulation/patron/loan/loan.component.ts index c782015c5..2a10e80f0 100644 --- a/projects/admin/src/app/circulation/patron/loan/loan.component.ts +++ b/projects/admin/src/app/circulation/patron/loan/loan.component.ts @@ -80,6 +80,7 @@ export class LoanComponent implements OnInit { this.patron = patron; if (patron) { this.isLoading = true; + this.patron.displayPatronMode = true; this._patronService.getItems(patron.pid).subscribe(items => { this.checkedOutItems = items; this.isLoading = false;