We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d7dda7 commit 9cd92dcCopy full SHA for 9cd92dc
2 files changed
frontend/src/api/chat.ts
@@ -301,6 +301,9 @@ export const chatApi = {
301
get: (id: number): Promise<ChatInfo> => {
302
return request.get(`/chat/get/${id}`)
303
},
304
+ get_with_Data: (id: number): Promise<ChatInfo> => {
305
+ return request.get(`/chat/get/with_data/${id}`)
306
+ },
307
get_chart_data: (record_id?: number): Promise<any> => {
308
return request.get(`/chat/record/get/${record_id}/data`)
309
frontend/src/views/dashboard/editor/ChatChartSelection.vue
@@ -169,7 +169,7 @@ function onClickHistory(chat: Chat) {
169
currentChatId.value = chat.id
170
loading.value = true
171
chatApi
172
- .get(chat.id)
+ .get_with_Data(chat.id)
173
.then((res) => {
174
const info = chatApi.toChatInfo(res)
175
if (info) {
0 commit comments