chore: render see more button conditionally

This commit is contained in:
ValdiANS
2026-01-27 18:16:34 +07:00
parent b03a47ddc6
commit a094eb94a5
@@ -176,6 +176,7 @@ const ApprovalStepsV2 = ({
})} })}
</div> </div>
{formattedApprovals.length > maxVisibleSteps && (
<Button <Button
variant='outline' variant='outline'
color='none' color='none'
@@ -194,6 +195,7 @@ const ApprovalStepsV2 = ({
/> />
See {isSeeAll ? 'Less' : 'More'} See {isSeeAll ? 'Less' : 'More'}
</Button> </Button>
)}
</div> </div>
); );
}; };