Skip to content

Commit 163df77

Browse files
authored
fix: fixed the newly created session has no title when it is deleted (#511)
* fix: fixed the issue that the newly created session has no title when it is deleted * docs: update notes
1 parent 21509f3 commit 163df77

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

docs/content.en/docs/release-notes/_index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ Information about release notes of Coco Server is provided here.
2828
### 🐛 Bug fix
2929

3030
- fix: several issues around search #502
31+
- fix: fixed the newly created session has no title when it is deleted #511
3132

3233
### ✈️ Improvements
3334

src/components/Common/HistoryList/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ const HistoryList: FC<HistoryListProps> = (props) => {
368368
</DialogTitle>
369369
<Description className="text-sm">
370370
{t("history_list.delete_modal.description", {
371-
replace: [active?._source?.title || active?._id],
371+
replace: [active?._source?.title || active?._source?.message || active?._id],
372372
})}
373373
</Description>
374374
</div>

0 commit comments

Comments
 (0)