mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-07-28 18:24:38 -05:00
Prettier code cleanup for PR #273
This commit is contained in:
@@ -433,15 +433,19 @@ export class DocumentDetailComponent
|
||||
}
|
||||
|
||||
nextDoc() {
|
||||
this.documentListViewService.getNext(this.document.id).subscribe((nextDocId: number) => {
|
||||
this.router.navigate(['documents', nextDocId])
|
||||
})
|
||||
this.documentListViewService
|
||||
.getNext(this.document.id)
|
||||
.subscribe((nextDocId: number) => {
|
||||
this.router.navigate(['documents', nextDocId])
|
||||
})
|
||||
}
|
||||
|
||||
previousDoc () {
|
||||
this.documentListViewService.getPrevious(this.document.id).subscribe((prevDocId: number) => {
|
||||
this.router.navigate(['documents', prevDocId])
|
||||
})
|
||||
|
||||
previousDoc() {
|
||||
this.documentListViewService
|
||||
.getPrevious(this.document.id)
|
||||
.subscribe((prevDocId: number) => {
|
||||
this.router.navigate(['documents', prevDocId])
|
||||
})
|
||||
}
|
||||
|
||||
pdfPreviewLoaded(pdf: PDFDocumentProxy) {
|
||||
|
Reference in New Issue
Block a user