ソースを参照

chore: compatible with es5 (#14268)

tags/1.0.0
KVOJJJin 8ヶ月前
コミット
aa6c951e8c
コミッターのメールアドレスに関連付けられたアカウントが存在しません
1個のファイルの変更1行の追加1行の削除
  1. 1
    1
      web/app/components/base/chat/utils.ts

+ 1
- 1
web/app/components/base/chat/utils.ts ファイルの表示

@@ -100,7 +100,7 @@ function getThreadMessages(tree: ChatItemInTree[], targetMessageId?: string): Ch
let targetNode: ChatItemInTree | undefined

// find path to the target message
const stack = tree.toReversed().map(rootNode => ({
const stack = tree.slice().reverse().map(rootNode => ({
node: rootNode,
path: [rootNode],
}))

読み込み中…
キャンセル
保存