From dd2ce647465b903bbf284d9a7350cf921a7571a1 Mon Sep 17 00:00:00 2001 From: Florian Glombik Date: Thu, 28 Nov 2024 05:36:46 +0100 Subject: [PATCH] Remove duplicated setter --- src/main/webapp/app/lecture/lecture-attachments.component.ts | 2 -- 1 file changed, 2 deletions(-) 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, {}); }