yt-chat-components 1.9.0 → 1.9.1

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": "1.9.0",
3
+ "version": "1.9.1",
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",
@@ -1032,7 +1032,7 @@ const ChatWindow = forwardRef<ChatWindowRef, ChatWindowProps>(({
1032
1032
  if (!isEnableForV1 && !isEmpty(questions)) {
1033
1033
  addMessage({
1034
1034
  messageItemList: [],
1035
- renderInitNode: () => <div style={{minHeight: '365px', width: '100%'}}>
1035
+ renderInitNode: () => <div style={{minHeight: isHideTabSelector ? '60px' : '365px', width: '100%'}}>
1036
1036
  {
1037
1037
  !isEmpty(finalChatHistoryList) &&
1038
1038
  <div style={{display: 'flex', justifyContent: 'center', alignItems: 'center'}}>
@@ -610,7 +610,7 @@ export class ToolDialogV2 extends React.Component {
610
610
  <span>热点问题</span>
611
611
  </div>
612
612
  {
613
- isHideTabSelector && <TabSelector
613
+ !isHideTabSelector && <TabSelector
614
614
  isSimple={true}
615
615
  keyShowSize={2}
616
616
  isShowByPages={false}