mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-09-24 01:02:45 -05:00
rework of the front end components
This commit is contained in:
@@ -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 {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user