Skip to content

Commit

Permalink
fix: remove boolean and icon specific bindings for chat avatar
Browse files Browse the repository at this point in the history
  • Loading branch information
anfibiacreativa committed Dec 6, 2023
1 parent d581f8a commit d29ed06
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion packages/chat-component/src/components/chat-component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ export class ChatComponent extends LitElement {
: ''}
<!-- Teaser List with Default Prompts -->
<div class="chat__container">
${this.isChatStarted
${this.isChatStarted && this.isCustomBranding
? ''
: html` <chat-stage
.isEnabled="${this.isCustomBranding}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,6 @@ export class ChatThreadComponent extends LitElement {
@property({ type: Object })
selectedCitation: Citation | undefined = undefined;

@property({ type: Boolean })
isCustomBranding = false;

@property({ type: String })
svgIcon = '';

// Copy response to clipboard
copyResponseToClipboard(entry: ChatThreadEntry): void {
const response = chatEntryToString(entry);
Expand Down

0 comments on commit d29ed06

Please sign in to comment.