yt-chat-components 0.9.1 → 0.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yt-chat-components",
3
- "version": "0.9.1",
3
+ "version": "0.9.2",
4
4
  "main": "build/static/js/bundle.min.js",
5
5
  "module": "build/static/js/bundle.min.js",
6
6
  "types": "build/static/js/index.d.ts",
@@ -444,7 +444,7 @@ export class ToolDialog extends React.Component {
444
444
  dropManUrl
445
445
  } = this.props;
446
446
  const { sceneInfo, currentFlow = {} } = this.state;
447
- const { flows=[], name: sceneName, } = sceneInfo;
447
+ const { flows = [], name: sceneName, character } = sceneInfo;
448
448
  return (
449
449
  <div style={boxStyle}>
450
450
  <style dangerouslySetInnerHTML={{ __html: style }}></style>
@@ -514,7 +514,7 @@ export class ToolDialog extends React.Component {
514
514
  dropDownList={this.state.dropDownList}
515
515
  baseConfig={{ isTitleSideIcon, logoWidth, agentUrl }}
516
516
  isShowUploadButton={isShowUploadButton}
517
- dropManUrl={dropManUrl}
517
+ dropManUrl={character || dropManUrl}
518
518
  />
519
519
  </div>
520
520
  {