fixes #11 and some server side warnings

This commit is contained in:
Jonas Winkler committed 2020-11-04 00:33:29 +01:00
1 parent 965e874740
commit c502d4055d
2 files changed
+9 -9

No files matched your search

@@ -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')