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' />
|
<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>
|
<span className='system-xs-medium text-components-button-secondary-text'>{t('app.export')}</span>
|
||||||
</Button>
|
</Button>
|
||||||
<PortalToFollowElem
|
{appDetail.mode !== 'agent-chat' && <PortalToFollowElem
|
||||||
open={showMore}
|
open={showMore}
|
||||||
onOpenChange={setShowMore}
|
onOpenChange={setShowMore}
|
||||||
placement='bottom-end'
|
placement='bottom-end'
|
||||||
@ -327,7 +327,7 @@ const AppInfo = ({ expand }: IAppInfoProps) => {
|
|||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
</PortalToFollowElemContent>
|
</PortalToFollowElemContent>
|
||||||
</PortalToFollowElem>
|
</PortalToFollowElem>}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className='flex flex-1'>
|
<div className='flex flex-1'>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user