fix(ui): fix for activeTab prop for assist session
This commit is contained in:
parent
716dc6a2ff
commit
62705670e3
1 changed files with 3 additions and 1 deletions
|
|
@ -200,7 +200,9 @@ export default class MessageManager {
|
|||
if (!!lastThrashing && t - lastThrashing.time < 300) {
|
||||
this.screen.cursor.shake();
|
||||
}
|
||||
|
||||
if (!this.activeTab) {
|
||||
this.activeTab = this.state.get().currentTab ?? Object.keys(this.tabs)[0];
|
||||
}
|
||||
if (tabId) {
|
||||
if (this.activeTab !== tabId) {
|
||||
this.state.update({ currentTab: tabId });
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue