This commit is contained in:
jonaswinkler 2020-12-30 12:21:13 +01:00
parent c7cb474133
commit 730d42b145

View File

@ -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()
})
}
}