@lobehub/chat 1.50.0 → 1.50.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/CHANGELOG.md CHANGED
@@ -2,6 +2,31 @@
2
2
 
3
3
  # Changelog
4
4
 
5
+ ### [Version 1.50.1](https://github.com/lobehub/lobe-chat/compare/v1.50.0...v1.50.1)
6
+
7
+ <sup>Released on **2025-02-03**</sup>
8
+
9
+ #### 🐛 Bug Fixes
10
+
11
+ - **misc**: Bind the selected group name in the rename modal..
12
+
13
+ <br/>
14
+
15
+ <details>
16
+ <summary><kbd>Improvements and Fixes</kbd></summary>
17
+
18
+ #### What's fixed
19
+
20
+ - **misc**: Bind the selected group name in the rename modal., closes [#5159](https://github.com/lobehub/lobe-chat/issues/5159) ([7da05ce](https://github.com/lobehub/lobe-chat/commit/7da05ce))
21
+
22
+ </details>
23
+
24
+ <div align="right">
25
+
26
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
27
+
28
+ </div>
29
+
5
30
  ## [Version 1.50.0](https://github.com/lobehub/lobe-chat/compare/v1.49.16...v1.50.0)
6
31
 
7
32
  <sup>Released on **2025-02-03**</sup>
package/changelog/v1.json CHANGED
@@ -1,4 +1,13 @@
1
1
  [
2
+ {
3
+ "children": {
4
+ "fixes": [
5
+ "Bind the selected group name in the rename modal.."
6
+ ]
7
+ },
8
+ "date": "2025-02-03",
9
+ "version": "1.50.1"
10
+ },
2
11
  {
3
12
  "children": {
4
13
  "features": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/chat",
3
- "version": "1.50.0",
3
+ "version": "1.50.1",
4
4
  "description": "Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.",
5
5
  "keywords": [
6
6
  "framework",
@@ -1,7 +1,7 @@
1
1
  import { Input, Modal, type ModalProps } from '@lobehub/ui';
2
2
  import { App } from 'antd';
3
3
  import isEqual from 'fast-deep-equal';
4
- import { memo, useState } from 'react';
4
+ import { memo, useEffect, useState } from 'react';
5
5
  import { useTranslation } from 'react-i18next';
6
6
 
7
7
  import { useSessionStore } from '@/store/session';
@@ -21,6 +21,11 @@ const RenameGroupModal = memo<RenameGroupModalProps>(({ id, open, onCancel }) =>
21
21
  const [loading, setLoading] = useState(false);
22
22
 
23
23
  const { message } = App.useApp();
24
+
25
+ useEffect(() => {
26
+ setInput(group?.name);
27
+ }, [group]);
28
+
24
29
  return (
25
30
  <Modal
26
31
  allowFullscreen