Skip to content

Commit 72b7e70

Browse files
committed
feat: add collapse summary
1 parent b1b395f commit 72b7e70

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

static/app/views/issueList/pages/dynamicGrouping.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,12 @@ function ClusterCard({
454454
{cluster.description && (
455455
<Fragment>
456456
{showDescription ? (
457-
<DescriptionText>{cluster.description}</DescriptionText>
457+
<Fragment>
458+
<DescriptionText>{cluster.description}</DescriptionText>
459+
<ReadMoreButton onClick={() => setShowDescription(false)}>
460+
{t('Collapse summary')}
461+
</ReadMoreButton>
462+
</Fragment>
458463
) : (
459464
<ReadMoreButton onClick={() => setShowDescription(true)}>
460465
{t('View summary')}

0 commit comments

Comments
 (0)