mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: Dialogue embedding to modify name (#2780)
This commit is contained in:
parent
678a5ae4a5
commit
6cf91098d6
|
|
@ -179,9 +179,8 @@ function editName(val: string, item: any) {
|
|||
const obj = {
|
||||
abstract: val
|
||||
}
|
||||
|
||||
log.asyncPutChatClientLog(applicationDetail.value.id, item.id, obj, loading).then(() => {
|
||||
const find = chatLogData.value.find((item: any) => item.id == item.id)
|
||||
const find = chatLogData.value.find((row: any) => row.id === item.id)
|
||||
if (find) {
|
||||
find.abstract = val
|
||||
}
|
||||
|
|
|
|||
|
|
@ -176,7 +176,7 @@ function editName(val: string, item: any) {
|
|||
}
|
||||
|
||||
log.asyncPutChatClientLog(applicationDetail.value.id, item.id, obj, loading).then(() => {
|
||||
const find = chatLogData.value.find((item: any) => item.id == item.id)
|
||||
const find = chatLogData.value.find((row: any) => row.id === item.id)
|
||||
if (find) {
|
||||
find.abstract = val
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue