Ensure workflow tools tab always shows marketplace footer

This commit is contained in:
lyzno1
2025-10-23 13:08:59 +08:00
parent 7ada2385b3
commit 37e75f7791

View File

@@ -229,7 +229,7 @@ const AllTools = ({
</div>
</>
)}
{(hasToolsListContent || hasPluginContent) && (
{(hasToolsListContent || enable_marketplace) && (
<>
<div className='px-3 pb-1 pt-2'>
<span className='system-xs-medium text-text-primary'>{t('tools.allTools')}</span>
@@ -249,7 +249,7 @@ const AllTools = ({
isShowRAGRecommendations={isShowRAGRecommendations}
/>
)}
{hasPluginContent && (
{enable_marketplace && (
<PluginList
ref={pluginRef}
wrapElemRef={wrapElemRef as RefObject<HTMLElement>}