Revert "Move print button, close loading dialog earlier"

This reverts commit 30af7047c7.
This commit is contained in:
shamoon
2023-11-30 14:23:36 -08:00
parent 75d23be6fe
commit a9dc8be1f7
4 changed files with 10 additions and 15 deletions

View File

@@ -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
}