Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
}
this.components.badBarcodeDialog.barcode = params.copy_barcode;
- return this.components.badBarcodeDialog.open().toPromise();
+ return this.components.badBarcodeDialog.open().toPromise()
+ // Avoid prompting again on an override
+ .then(response => {
+ params._checkbarcode = false
+ return response;
+ });
}
checkBarcode(barcode: string): boolean {