diff --git a/src/main/webapp/app/shared/metis/message/message-inline-input/message-inline-input.component.html b/src/main/webapp/app/shared/metis/message/message-inline-input/message-inline-input.component.html index 327530044869..328b92348d2f 100644 --- a/src/main/webapp/app/shared/metis/message/message-inline-input/message-inline-input.component.html +++ b/src/main/webapp/app/shared/metis/message/message-inline-input/message-inline-input.component.html @@ -17,7 +17,7 @@

{{ 'artemisApp.messageWarning.headerText' | artemisTra

{{ 'artemisApp.messageWarning.lastParagraph' | artemisTranslate }}

diff --git a/src/main/webapp/app/shared/metis/message/message-reply-inline-input/message-reply-inline-input.component.ts b/src/main/webapp/app/shared/metis/message/message-reply-inline-input/message-reply-inline-input.component.ts index 992fc62eb60d..1fe543496ff5 100644 --- a/src/main/webapp/app/shared/metis/message/message-reply-inline-input/message-reply-inline-input.component.ts +++ b/src/main/webapp/app/shared/metis/message/message-reply-inline-input/message-reply-inline-input.component.ts @@ -16,11 +16,6 @@ import { LocalStorageService } from 'ngx-webstorage'; export class MessageReplyInlineInputComponent extends PostingCreateEditDirective implements OnInit { warningDismissed = false; - ngOnInit(): void { - super.ngOnInit(); - this.warningDismissed = !!this.localStorageService.retrieve('chatWarningDismissed'); - } - constructor( protected metisService: MetisService, protected modalService: NgbModal, @@ -30,6 +25,11 @@ export class MessageReplyInlineInputComponent extends PostingCreateEditDirective super(metisService, modalService, formBuilder); } + ngOnInit(): void { + super.ngOnInit(); + this.warningDismissed = !!this.localStorageService.retrieve('chatWarningDismissed'); + } + /** * resets the answer post content */ diff --git a/src/main/webapp/app/shared/metis/posting-create-edit-modal/answer-post-create-edit-modal/answer-post-create-edit-modal.component.html b/src/main/webapp/app/shared/metis/posting-create-edit-modal/answer-post-create-edit-modal/answer-post-create-edit-modal.component.html index 514ab9cd54bb..6294a19b0276 100644 --- a/src/main/webapp/app/shared/metis/posting-create-edit-modal/answer-post-create-edit-modal/answer-post-create-edit-modal.component.html +++ b/src/main/webapp/app/shared/metis/posting-create-edit-modal/answer-post-create-edit-modal/answer-post-create-edit-modal.component.html @@ -8,7 +8,7 @@