RED-3567: Reset pending page rotation indicator after file reupload

This commit is contained in:
Adina Țeudan 2022-03-08 18:06:36 +02:00
parent 195a052377
commit e05a1f2df4

View File

@ -690,6 +690,7 @@ export class PdfViewerComponent extends AutoUnsubscribe implements OnInit, OnCha
private _loadDocument(blob: Blob, file: File) {
this.instance.UI.loadDocument(blob, { filename: file?.filename ?? 'document.pdf' });
this._pageRotationService.clearRotationsHideActions();
}
private _setReadyAndInitialState(): void {