From 6d4c89971166e16f2caad7661fa38902a127615a Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Fri, 19 Nov 2021 12:16:23 -0500 Subject: [PATCH] LP1904036 Penalty dialog clear prev. values on dialog open Signed-off-by: Bill Erickson Signed-off-by: Jane Sandberg Signed-off-by: Galen Charlton --- .../src/eg2/src/app/staff/share/patron/penalty-dialog.component.ts | 4 ++++ 1 file changed, 4 insertions(+) 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(); -- 2.11.0