Fixed display prompt showing when there is no template
This commit is contained in:
parent
e438f5a2a6
commit
07e6b137c4
1 changed files with 49 additions and 44 deletions
|
|
@ -138,6 +138,8 @@ export default function ChatMessage({
|
|||
</div>
|
||||
) : (
|
||||
<div>
|
||||
{template && (
|
||||
<>
|
||||
<button
|
||||
className="form-modal-initial-prompt-btn"
|
||||
onClick={() => {
|
||||
|
|
@ -183,6 +185,9 @@ export default function ChatMessage({
|
|||
})
|
||||
: chat.message[chat.chatKey]}
|
||||
</span>
|
||||
</>
|
||||
)}
|
||||
{chat.message[chat.chatKey]}
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue