@lobehub/chat 0.76.0 → 0.76.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 0.76.1](https://github.com/lobehub/lobe-chat/compare/v0.76.0...v0.76.1)
|
|
6
|
+
|
|
7
|
+
<sup>Released on **2023-09-11**</sup>
|
|
8
|
+
|
|
9
|
+
#### 🐛 Bug Fixes
|
|
10
|
+
|
|
11
|
+
- **misc**: Fix save topic button.
|
|
12
|
+
|
|
13
|
+
<br/>
|
|
14
|
+
|
|
15
|
+
<details>
|
|
16
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
|
17
|
+
|
|
18
|
+
#### What's fixed
|
|
19
|
+
|
|
20
|
+
- **misc**: Fix save topic button ([871905f](https://github.com/lobehub/lobe-chat/commit/871905f))
|
|
21
|
+
|
|
22
|
+
</details>
|
|
23
|
+
|
|
24
|
+
<div align="right">
|
|
25
|
+
|
|
26
|
+
[](#readme-top)
|
|
27
|
+
|
|
28
|
+
</div>
|
|
29
|
+
|
|
5
30
|
## [Version 0.76.0](https://github.com/lobehub/lobe-chat/compare/v0.75.0...v0.76.0)
|
|
6
31
|
|
|
7
32
|
<sup>Released on **2023-09-11**</sup>
|
package/package.json
CHANGED
|
@@ -6,30 +6,25 @@ import { useTranslation } from 'react-i18next';
|
|
|
6
6
|
|
|
7
7
|
import { useSessionStore } from '@/store/session';
|
|
8
8
|
|
|
9
|
-
import SaveTopic from '../Footer/SaveTopic';
|
|
10
|
-
|
|
11
9
|
const ActionsRight = memo(() => {
|
|
12
10
|
const { t } = useTranslation('setting');
|
|
13
11
|
const [clearMessage] = useSessionStore((s) => [s.clearMessage, s.updateAgentConfig]);
|
|
14
12
|
|
|
15
13
|
return (
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
/>
|
|
31
|
-
</Popconfirm>
|
|
32
|
-
</>
|
|
14
|
+
<Popconfirm
|
|
15
|
+
cancelText={t('cancel', { ns: 'common' })}
|
|
16
|
+
okButtonProps={{ danger: true }}
|
|
17
|
+
okText={t('ok', { ns: 'common' })}
|
|
18
|
+
onConfirm={() => clearMessage()}
|
|
19
|
+
placement={'topRight'}
|
|
20
|
+
title={t('confirmClearCurrentMessages', { ns: 'common' })}
|
|
21
|
+
>
|
|
22
|
+
<ActionIcon
|
|
23
|
+
icon={Eraser}
|
|
24
|
+
placement={'bottom'}
|
|
25
|
+
title={t('clearCurrentMessages', { ns: 'common' })}
|
|
26
|
+
/>
|
|
27
|
+
</Popconfirm>
|
|
33
28
|
);
|
|
34
29
|
});
|
|
35
30
|
|