fix: cost tool tip display (#3381)

This commit is contained in:
heheer 2024-12-12 17:05:27 +08:00 committed by GitHub
parent 40af63b1dd
commit 181b854342
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -657,10 +657,12 @@ const RenderList = React.memo(function RenderList({
<Box mt={2} color={'myGray.500'} maxH={'100px'} overflow={'hidden'}>
{t(template.intro as any) || t('common:core.workflow.Not intro')}
</Box>
<CostTooltip
cost={template.currentCost}
hasTokenFee={template.hasTokenFee}
/>
{type === TemplateTypeEnum.systemPlugin && (
<CostTooltip
cost={template.currentCost}
hasTokenFee={template.hasTokenFee}
/>
)}
</Box>
}
>