embedding in websites setting conversation_id requires hiding reset conversation button (#18623)
This commit is contained in:
parent
c479fcf251
commit
b203139356
4 changed files with 12 additions and 2 deletions
|
|
@ -25,6 +25,7 @@ import cn from '@/utils/classnames'
|
|||
const Chatbot = () => {
|
||||
const {
|
||||
isMobile,
|
||||
allowResetChat,
|
||||
appInfoError,
|
||||
appInfoLoading,
|
||||
appData,
|
||||
|
|
@ -90,6 +91,7 @@ const Chatbot = () => {
|
|||
>
|
||||
<Header
|
||||
isMobile={isMobile}
|
||||
allowResetChat={allowResetChat}
|
||||
title={site?.title || ''}
|
||||
customerIcon={isDify() ? difyIcon : ''}
|
||||
theme={themeBuilder?.theme}
|
||||
|
|
@ -153,6 +155,7 @@ const EmbeddedChatbotWrapper = () => {
|
|||
handleNewConversationCompleted,
|
||||
chatShouldReloadKey,
|
||||
isInstalledApp,
|
||||
allowResetChat,
|
||||
appId,
|
||||
handleFeedback,
|
||||
currentChatInstanceRef,
|
||||
|
|
@ -187,6 +190,7 @@ const EmbeddedChatbotWrapper = () => {
|
|||
chatShouldReloadKey,
|
||||
isMobile,
|
||||
isInstalledApp,
|
||||
allowResetChat,
|
||||
appId,
|
||||
handleFeedback,
|
||||
currentChatInstanceRef,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue