mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 13:03:50 +00:00
fix: cost tool tip display (#3381)
This commit is contained in:
@@ -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>
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
|
Reference in New Issue
Block a user