Skip to content

Commit

Permalink
circulation: fix patron info in loan view
Browse files Browse the repository at this point in the history
* 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 <alicia.zangger@rero.ch>
  • Loading branch information
Alicia Zangger committed Aug 24, 2020
1 parent 588821e commit 98325b7
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 98325b7

Please sign in to comment.