DEV: Move the stop-forcing-conversations-sidebar appEvents trigger (#1353)
This commit is contained in:
parent
0c69bb85ce
commit
ef260be7cf
|
@ -42,8 +42,7 @@ export default class AiConversationsSidebarManager extends Service {
|
||||||
if (this.sidebarState.isForcingSidebar && !isAdminSidebarActive) {
|
if (this.sidebarState.isForcingSidebar && !isAdminSidebarActive) {
|
||||||
this.sidebarState.setPanel(MAIN_PANEL); // Return to main sidebar panel
|
this.sidebarState.setPanel(MAIN_PANEL); // Return to main sidebar panel
|
||||||
this.sidebarState.isForcingSidebar = false;
|
this.sidebarState.isForcingSidebar = false;
|
||||||
}
|
|
||||||
|
|
||||||
this.appEvents.trigger("discourse-ai:stop-forcing-conversations-sidebar");
|
this.appEvents.trigger("discourse-ai:stop-forcing-conversations-sidebar");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue