Skip to content

Commit

Permalink
chore: change name of function to generic
Browse files Browse the repository at this point in the history
  • Loading branch information
anfibiacreativa committed Nov 10, 2023
1 parent deb7dba commit b930278
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/chat-component/src/components/chat-component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ export class ChatComponent extends LitElement {
}

// show thought process aside
showThoughtProcess(event: Event): void {
expandAside(event: Event): void {
event.preventDefault();
this.isShowingThoughtProcess = true;
this.shadowRoot?.querySelector('#overlay')?.classList.add('active');
Expand Down Expand Up @@ -410,7 +410,7 @@ export class ChatComponent extends LitElement {
title="${globalConfig.SHOW_THOUGH_PROCESS_BUTTON_LABEL_TEXT}"
class="button chat__header--button"
data-testid="chat-show-thought-process"
@click="${this.showThoughtProcess}"
@click="${this.expandAside}"
?disabled="${this.isShowingThoughtProcess || !this.canShowThoughtProcess}"
>
<span class="chat__header--span"
Expand Down

0 comments on commit b930278

Please sign in to comment.