diff --git a/client/src/app/site/pages/meetings/modules/list-of-speakers-content/components/list-of-speakers-content/list-of-speakers-content.component.ts b/client/src/app/site/pages/meetings/modules/list-of-speakers-content/components/list-of-speakers-content/list-of-speakers-content.component.ts index e350baca17..51f2a51dc0 100644 --- a/client/src/app/site/pages/meetings/modules/list-of-speakers-content/components/list-of-speakers-content/list-of-speakers-content.component.ts +++ b/client/src/app/site/pages/meetings/modules/list-of-speakers-content/components/list-of-speakers-content/list-of-speakers-content.component.ts @@ -112,6 +112,10 @@ export class ListOfSpeakersContentComponent extends BaseMeetingComponent impleme .pipe(map(item => item?.moderator_notes)); } + private get moderatorNotesForForm(): string { + return this.agendaItemRepo.getViewModel(this._contentObject?.getModel().agenda_item_id).moderator_notes; + } + public get closed(): boolean { return this._listOfSpeakers?.closed || false; } @@ -703,6 +707,9 @@ export class ListOfSpeakersContentComponent extends BaseMeetingComponent impleme public toggleEditModeratorNote(): void { this.isEditing = !this.isEditing; + if (this.isEditing && !!this.moderatorNotesForForm) { + this.moderatorNoteForm.setValue({ moderator_notes: this.moderatorNotesForForm }); + } } public saveChangesModerationNote(): void {