Skip to content

Commit

Permalink
Merge pull request #431 from Cognigy/legacy-plugins-2
Browse files Browse the repository at this point in the history
Fix Fullscreen Messages
  • Loading branch information
kwinto authored Jun 25, 2024
2 parents 61f8310 + dd1dbe5 commit 91cf8c0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
},
"dependencies": {
"@braintree/sanitize-url": "^6.0.0",
"@cognigy/chat-components": "^0.25.0",
"@cognigy/chat-components": "^0.26.0",
"@cognigy/socket-client": "5.0.0-beta.10",
"@emotion/cache": "^10.0.29",
"@emotion/react": "^11.7.1",
Expand Down
4 changes: 3 additions & 1 deletion src/webchat-ui/components/WebchatUI.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1267,6 +1267,8 @@ export class WebchatUI extends React.PureComponent<
message={fullscreenMessage as IMessage}
webchatTheme={this.state.theme}
onEmitAnalytics={onEmitAnalytics}
action={this.sendMessage}
theme={this.state.theme}
/>
);
}
Expand Down Expand Up @@ -1302,7 +1304,7 @@ export class WebchatUI extends React.PureComponent<
action={this.sendMessage}
config={config}
hasReply={hasReply}
isConversationEnded={isConversationEnded}
isConversationEnded={isEnded}
onDismissFullscreen={() => {}}
onEmitAnalytics={onEmitAnalytics}
onSetFullscreen={() => this.props.onSetFullscreenMessage(message)}
Expand Down

0 comments on commit 91cf8c0

Please sign in to comment.