mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-07 07:15:07 +01:00
bugfix
This commit is contained in:
parent
118149c539
commit
17ded12375
1 changed files with 3 additions and 0 deletions
|
|
@ -28,6 +28,9 @@ export class OpenDocumentsService {
|
|||
if (index > -1) {
|
||||
this.documentService.get(id).subscribe(doc => {
|
||||
this.openDocuments[index] = doc
|
||||
}, error => {
|
||||
this.openDocuments.splice(index, 1)
|
||||
this.save()
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue