Skip to content

Commit

Permalink
fix: cost tool tip display (#3381)
Browse files Browse the repository at this point in the history
  • Loading branch information
newfish-cmyk authored Dec 12, 2024
1 parent 40af63b commit 181b854
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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>
}
>
Expand Down

0 comments on commit 181b854

Please sign in to comment.