forked from XiaoMo/ChatGPT-Next-Web
fix: #2230 hide chat actions for context prompts
This commit is contained in:
parent
b4e350e189
commit
0bc2c71b0c
@ -888,7 +888,8 @@ export function Chat() {
|
||||
const showActions =
|
||||
!isUser &&
|
||||
i > 0 &&
|
||||
!(message.preview || message.content.length === 0);
|
||||
!(message.preview || message.content.length === 0) &&
|
||||
i >= context.length; // do not show actions for context prompts
|
||||
const showTyping = message.preview || message.streaming;
|
||||
|
||||
const shouldShowClearContextDivider = i === clearContextIndex - 1;
|
||||
|
Loading…
Reference in New Issue
Block a user