mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-25 07:45:47 +00:00
chore: render see more button conditionally
This commit is contained in:
@@ -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>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user