mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-10 00:35:30 +01:00
Prettier code cleanup for PR #273
This commit is contained in:
parent
eb55f5655f
commit
e41d75c374
2 changed files with 16 additions and 13 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue