LP1852782 Reset authority validation after linking
authorBill Erickson <berickxx@gmail.com>
Mon, 23 Dec 2019 22:33:05 +0000 (17:33 -0500)
committerBill Erickson <berickxx@gmail.com>
Fri, 21 Feb 2020 16:44:38 +0000 (11:44 -0500)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Open-ILS/src/eg2/src/app/staff/share/marc-edit/authority-linking-dialog.component.ts

index 1c7d3a5..6504f7d 100644 (file)
@@ -155,6 +155,10 @@ export class AuthorityLinkingDialogComponent
         }
         this.context.insertSubfield(this.bibField,
             ['0', `(${this.cni})${authId}`, this.bibField.subfields.length]);
+
+        // Reset the validation state.
+        this.bibField.authChecked = null;
+        this.bibField.authValid = null;
     }
 
     createNewAuthority(editFirst?: boolean) {