mirror of
https://github.com/Kingsrook/qqq-frontend-material-dashboard.git
synced 2025-07-17 21:00:45 +00:00
CE-1955 - Add support for bulletsOfText on a processSummaryLine
This commit is contained in:
@ -53,6 +53,8 @@ export class ProcessSummaryLine
|
||||
linkText: string;
|
||||
linkPostText: string;
|
||||
|
||||
bulletsOfText: any[];
|
||||
|
||||
constructor(processSummaryLine: any)
|
||||
{
|
||||
this.status = processSummaryLine.status;
|
||||
@ -66,6 +68,8 @@ export class ProcessSummaryLine
|
||||
this.linkText = processSummaryLine.linkText;
|
||||
this.linkPostText = processSummaryLine.linkPostText;
|
||||
|
||||
this.bulletsOfText = processSummaryLine.bulletsOfText;
|
||||
|
||||
this.filter = processSummaryLine.filter;
|
||||
}
|
||||
|
||||
@ -142,6 +146,13 @@ export class ProcessSummaryLine
|
||||
</span>
|
||||
) : <span>{lastWord}</span>
|
||||
}
|
||||
{
|
||||
this.bulletsOfText && <ul style={{marginLeft: "2rem"}}>
|
||||
{
|
||||
this.bulletsOfText.map((bullet, index) => <li key={index}>{bullet}</li>)
|
||||
}
|
||||
</ul>
|
||||
}
|
||||
</ListItemText>
|
||||
</Box>
|
||||
</ListItem>
|
||||
|
Reference in New Issue
Block a user