diff --git a/src/main/webapp/app/lecture/lecture-attachments.component.ts b/src/main/webapp/app/lecture/lecture-attachments.component.ts index 5974bcb3631c..9580b2c708a6 100644 --- a/src/main/webapp/app/lecture/lecture-attachments.component.ts +++ b/src/main/webapp/app/lecture/lecture-attachments.component.ts @@ -215,8 +215,6 @@ export class LectureAttachmentsComponent implements OnDestroy { notificationText: this.notificationText, }); - this.attachmentToBeUpdatedOrCreated.set(attachment); - this.attachmentToBeUpdatedOrCreated.set(attachment); this.attachmentBackup = Object.assign({}, attachment, {}); }