From 75d1a435aeecca62dfa636ee26fbf548f6e4588c Mon Sep 17 00:00:00 2001 From: Red J Adaya Date: Wed, 20 Dec 2023 08:18:44 +0800 Subject: [PATCH] fix missing session ID (#178) --- src/app/common/modals/settings.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/common/modals/settings.tsx b/src/app/common/modals/settings.tsx index 186c83b83..2eb606df7 100644 --- a/src/app/common/modals/settings.tsx +++ b/src/app/common/modals/settings.tsx @@ -392,8 +392,8 @@ class SessionSettingsModal extends React.Component<{}, {}> { constructor(props: any) { super(props); - let sessionId = GlobalModel.sessionSettingsModal.get(); - this.session = GlobalModel.getSessionById(sessionId); + this.sessionId = GlobalModel.sessionSettingsModal.get(); + this.session = GlobalModel.getSessionById(this.sessionId); if (this.session == null) { return; }