RED-4917 - Blank page after clicking on "No" in the dialogue for non-matching page number in compare
This commit is contained in:
parent
b888c04bc2
commit
ae95f3511e
@ -61,8 +61,6 @@ export class CompareFileInputComponent {
|
||||
|
||||
async #createDocumentsAndCompare(buffer: ArrayBuffer, fileName: string) {
|
||||
const currentBlob = await this._documentViewer.blob();
|
||||
this._documentViewer.close();
|
||||
|
||||
const pdfNet = this._pdf.PDFNet;
|
||||
|
||||
const compareDocument = await pdfNet.PDFDoc.createFromBuffer(buffer);
|
||||
@ -78,6 +76,7 @@ export class CompareFileInputComponent {
|
||||
}
|
||||
}
|
||||
|
||||
this._documentViewer.close();
|
||||
await this.#loadCompareDocument(currentDocument, compareDocument);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user