From 4ad65532ae7d0a2131f40de3eb3cbdd4bb529d32 Mon Sep 17 00:00:00 2001 From: Tim Cremer Date: Wed, 30 Oct 2024 09:51:41 +0100 Subject: [PATCH] variable readonly --- .../conversation-messages/conversation-messages.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/app/overview/course-conversations/layout/conversation-messages/conversation-messages.component.ts b/src/main/webapp/app/overview/course-conversations/layout/conversation-messages/conversation-messages.component.ts index ecb31da4185f..9380bc92280f 100644 --- a/src/main/webapp/app/overview/course-conversations/layout/conversation-messages/conversation-messages.component.ts +++ b/src/main/webapp/app/overview/course-conversations/layout/conversation-messages/conversation-messages.component.ts @@ -41,7 +41,7 @@ import { PostingThreadComponent } from 'app/shared/metis/posting-thread/posting- }) export class ConversationMessagesComponent implements OnInit, AfterViewInit, OnDestroy { private ngUnsubscribe = new Subject(); - sessionStorageKey = 'conversationId.scrollPosition.'; + readonly sessionStorageKey = 'conversationId.scrollPosition.'; readonly PageType = PageType; readonly ButtonType = ButtonType;