Skip to content

Commit c1be60b

Browse files
committed
fix missing isAnonymous initialization
1 parent c060074 commit c1be60b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/web-component.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@ export function webComponentQAndATool(config) {
234234
if (props.prompt) qaBot.setAttribute('prompt', props.prompt);
235235
if (props.embedded) qaBot.setAttribute('embedded', '');
236236
if (props.isLoggedIn) qaBot.setAttribute('is-logged-in', '');
237+
if (props.isAnonymous) qaBot.setAttribute('is-anonymous', '');
237238
if (props.disabled) qaBot.setAttribute('disabled', '');
238239
if (props.isOpen) qaBot.setAttribute('is-open', '');
239240
if (props.apiKey) qaBot.setAttribute('api-key', props.apiKey);

0 commit comments

Comments
 (0)