Преглед изворни кода

chore: compatible with es5 (#14268)

tags/1.0.0
KVOJJJin пре 8 месеци
родитељ
комит
aa6c951e8c
No account linked to committer's email address
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],
}))

Loading…
Откажи
Сачувај