mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-11-20 04:26:53 +00:00
rework of the front end components
This commit is contained in:
1 parent
339e96b63c
commit
ede3bd1391
5 files changed
+137
-56
No files matched your search
@@ -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