From 3f1d7b01b4c669645857c7d83f2358bef8bfafa5 Mon Sep 17 00:00:00 2001 From: Jason Etheridge Date: Wed, 31 Aug 2022 11:30:54 -0400 Subject: [PATCH] LP1988321 cover image uploader fix loosens the test that determines whether an image upload was successful or not Signed-off-by: Jason Etheridge Signed-off-by: Garry Collum --- .../app/staff/catalog/record/upload-jacket-image-dialog.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/eg2/src/app/staff/catalog/record/upload-jacket-image-dialog.component.ts b/Open-ILS/src/eg2/src/app/staff/catalog/record/upload-jacket-image-dialog.component.ts index 06e47db737..d4a5e3c000 100644 --- a/Open-ILS/src/eg2/src/app/staff/catalog/record/upload-jacket-image-dialog.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/catalog/record/upload-jacket-image-dialog.component.ts @@ -98,7 +98,7 @@ export class UploadJacketImageDialogComponent extends DialogComponent implements console.debug('Jacket upload: ' , x); if (x instanceof HttpResponse) { console.debug('yay', x.body); - if (x.body !== '1') { + if (x.body != '1') { this.uploading = false; this.errorUploading = true; } -- 2.11.0