Skip to content

Commit 4aa690f

Browse files
committed
fix: Low version browsers do not have the at function
1 parent 832b0db commit 4aa690f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/api/type/application.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export class ChatRecordManage {
138138
) {
139139
return this.write_node_info
140140
}
141-
const run_node = this.node_list.filter((item) => item.buffer.length > 0 || !item.is_end).at(0)
141+
const run_node = this.node_list.filter((item) => item.buffer.length > 0 || !item.is_end)[0]
142142

143143
if (run_node) {
144144
const index = this.node_list.indexOf(run_node)

0 commit comments

Comments
 (0)