mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-06 14:55:07 +01:00
fixes #11 and some server side warnings
This commit is contained in:
parent
965e874740
commit
c502d4055d
2 changed files with 9 additions and 9 deletions
|
|
@ -59,9 +59,9 @@ export class DocumentDetailComponent implements OnInit {
|
|||
private documentListViewService: DocumentListViewService) { }
|
||||
|
||||
ngOnInit(): void {
|
||||
this.correspondentService.list().subscribe(result => this.correspondents = result.results)
|
||||
this.documentTypeService.list().subscribe(result => this.documentTypes = result.results)
|
||||
this.tagService.list().subscribe(result => this.tags = result.results)
|
||||
this.correspondentService.list(1,100000).subscribe(result => this.correspondents = result.results)
|
||||
this.documentTypeService.list(1,100000).subscribe(result => this.documentTypes = result.results)
|
||||
this.tagService.list(1,100000).subscribe(result => this.tags = result.results)
|
||||
|
||||
this.route.paramMap.subscribe(paramMap => {
|
||||
this.documentId = +paramMap.get('id')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue