rework of the front end components

This commit is contained in:
jonaswinkler committed 2021-01-26 00:51:45 +01:00
1 parent 339e96b63c
commit ede3bd1391
5 files changed
+137 -56

No files matched your search

+1 -3
View File
@@ -32,7 +32,7 @@ export class AppComponent implements OnInit, OnDestroy {
this.successSubscription = this.consumerStatusService.onDocumentConsumptionFinished().subscribe(status => {
this.toastService.show({title: "Document added", delay: 10000, content: `Document ${status.filename} was added to paperless.`, actionName: "Open document", action: () => {
this.router.navigate(['documents', status.document_id])
this.router.navigate(['documents', status.documentId])
}})
})
@@ -42,6 +42,4 @@ export class AppComponent implements OnInit, OnDestroy {
}
}