Skip to content

Commit 207d53b

Browse files
authored
[frontend] bugfix: The enableLog configuration does not take effect at the end node. (#259)
1 parent 5c90521 commit 207d53b

File tree

1 file changed

+1
-1
lines changed
  • app-engine/frontend/src/pages/chatPreview

1 file changed

+1
-1
lines changed

app-engine/frontend/src/pages/chatPreview/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ const ChatPreview = (props) => {
487487
idx = listRef.current.length;
488488
} else {
489489
if (!extensions.isEnableLog && !listRef.current[idx].step) {
490-
initObj.content ? null : initObj.content = listRef.current[idx].content;
490+
initObj.content = listRef.current[idx].content;
491491
}
492492
}
493493
}

0 commit comments

Comments
 (0)