Commit 181b8543 by heheer Committed by GitHub

fix: cost tool tip display (#3381)

parent 40af63b1
...@@ -657,10 +657,12 @@ const RenderList = React.memo(function RenderList({ ...@@ -657,10 +657,12 @@ const RenderList = React.memo(function RenderList({
<Box mt={2} color={'myGray.500'} maxH={'100px'} overflow={'hidden'}> <Box mt={2} color={'myGray.500'} maxH={'100px'} overflow={'hidden'}>
{t(template.intro as any) || t('common:core.workflow.Not intro')} {t(template.intro as any) || t('common:core.workflow.Not intro')}
</Box> </Box>
{type === TemplateTypeEnum.systemPlugin && (
<CostTooltip <CostTooltip
cost={template.currentCost} cost={template.currentCost}
hasTokenFee={template.hasTokenFee} hasTokenFee={template.hasTokenFee}
/> />
)}
</Box> </Box>
} }
> >
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment