@lobehub/chat 0.128.1 → 0.128.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/CHANGELOG.md CHANGED
@@ -2,6 +2,31 @@
2
2
 
3
3
  # Changelog
4
4
 
5
+ ### [Version 0.128.2](https://github.com/lobehub/lobe-chat/compare/v0.128.1...v0.128.2)
6
+
7
+ <sup>Released on **2024-02-15**</sup>
8
+
9
+ #### 🐛 Bug Fixes
10
+
11
+ - **misc**: Fix agent avatar click wrong navigation.
12
+
13
+ <br/>
14
+
15
+ <details>
16
+ <summary><kbd>Improvements and Fixes</kbd></summary>
17
+
18
+ #### What's fixed
19
+
20
+ - **misc**: Fix agent avatar click wrong navigation, closes [#1308](https://github.com/lobehub/lobe-chat/issues/1308) ([adc7bc1](https://github.com/lobehub/lobe-chat/commit/adc7bc1))
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 0.128.1](https://github.com/lobehub/lobe-chat/compare/v0.128.0...v0.128.1)
6
31
 
7
32
  <sup>Released on **2024-02-15**</sup>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/chat",
3
- "version": "0.128.1",
3
+ "version": "0.128.2",
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",
@@ -56,7 +56,7 @@ const Left = memo(() => {
56
56
  onClick={() =>
57
57
  isInbox
58
58
  ? router.push('/settings/agent')
59
- : router.push(pathString('/chat/settings', { hash: location.hash }))
59
+ : router.push(pathString('/chat/settings', { search: location.search }))
60
60
  }
61
61
  size={40}
62
62
  title={title}
@@ -88,7 +88,7 @@ const SystemRole = memo(() => {
88
88
  onAvatarClick={() => {
89
89
  setOpen(false);
90
90
  setEditing(false);
91
- router.push(pathString('/chat/settings', { hash: location.hash }));
91
+ router.push(pathString('/chat/settings', { search: location.search }));
92
92
  }}
93
93
  style={{ marginBottom: 16 }}
94
94
  />
@@ -13,7 +13,7 @@ const Header = memo(() => {
13
13
  return (
14
14
  <MobileNavBar
15
15
  center={<MobileNavBarTitle title={t('header.session')} />}
16
- onBackClick={() => router.push(pathString('/chat/mobile', { hash: location.hash }))}
16
+ onBackClick={() => router.push(pathString('/chat/mobile', { search: location.search }))}
17
17
  right={<HeaderContent />}
18
18
  showBackButton
19
19
  />
@@ -32,7 +32,7 @@ export const useAvatarsClick = (): OnAvatarsClick => {
32
32
  isInbox
33
33
  ? router.push('/settings/agent')
34
34
  : mobile
35
- ? router.push(pathString('/chat/settings', { hash: location.hash }))
35
+ ? router.push(pathString('/chat/settings', { search: location.search }))
36
36
  : toggleSystemRole(true);
37
37
  }
38
38
  }