From: Bill Erickson Date: Fri, 19 Nov 2021 17:16:23 +0000 (-0500) Subject: LP1904036 Penalty dialog clear prev. values on dialog open X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=6d4c89971166e16f2caad7661fa38902a127615a;p=evergreen%2Ftadl.git LP1904036 Penalty dialog clear prev. values on dialog open Signed-off-by: Bill Erickson Signed-off-by: Jane Sandberg Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/src/eg2/src/app/staff/share/patron/penalty-dialog.component.ts b/Open-ILS/src/eg2/src/app/staff/share/patron/penalty-dialog.component.ts index 8380a0e756..eeaf2dc16d 100644 --- a/Open-ILS/src/eg2/src/app/staff/share/patron/penalty-dialog.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/share/patron/penalty-dialog.component.ts @@ -71,6 +71,10 @@ export class PatronPenaltyDialogComponent init(): Observable { this.dataLoaded = false; + this.patronMessage = 0; + this.initials = ''; + this.noteText = ''; + if (this.penalty) { // Modifying an existing penalty const pen = this.penalty; const sp = pen.standing_penalty().id();