mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-02 18:39:05 +01:00
fix missing session ID (#178)
This commit is contained in:
parent
426f9546e5
commit
75d1a435ae
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user