Revert "Move print button, close loading dialog earlier"
This reverts commit 30af7047c7.
This commit is contained in:
@@ -853,11 +853,10 @@ export class DocumentDetailComponent
|
||||
loadingDialog.current = event.page ?? 0
|
||||
loadingDialog.total = event.total
|
||||
}
|
||||
if (event.total === event.page) this.onAfterPrint()
|
||||
}
|
||||
|
||||
onAfterPrint(): void {
|
||||
this.printLoadingModal?.close()
|
||||
this.printLoadingModal.close()
|
||||
this.printLoadingModal = null
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user