mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-14 05:45:55 +08:00
fix: show More menu if current app is not agent-chat
This commit is contained in:
parent
17d6dd6193
commit
7bea68fa84
@ -284,7 +284,7 @@ const AppInfo = ({ expand }: IAppInfoProps) => {
|
||||
<RiFileDownloadLine className='h-3.5 w-3.5 text-components-button-secondary-text' />
|
||||
<span className='system-xs-medium text-components-button-secondary-text'>{t('app.export')}</span>
|
||||
</Button>
|
||||
<PortalToFollowElem
|
||||
{appDetail.mode !== 'agent-chat' && <PortalToFollowElem
|
||||
open={showMore}
|
||||
onOpenChange={setShowMore}
|
||||
placement='bottom-end'
|
||||
@ -327,7 +327,7 @@ const AppInfo = ({ expand }: IAppInfoProps) => {
|
||||
}
|
||||
</div>
|
||||
</PortalToFollowElemContent>
|
||||
</PortalToFollowElem>
|
||||
</PortalToFollowElem>}
|
||||
</div>
|
||||
</div>
|
||||
<div className='flex flex-1'>
|
||||
|
Loading…
x
Reference in New Issue
Block a user