mirror of
https://github.com/Kingsrook/qqq-frontend-material-dashboard.git
synced 2025-07-18 21:30: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;
|
linkText: string;
|
||||||
linkPostText: string;
|
linkPostText: string;
|
||||||
|
|
||||||
|
bulletsOfText: any[];
|
||||||
|
|
||||||
constructor(processSummaryLine: any)
|
constructor(processSummaryLine: any)
|
||||||
{
|
{
|
||||||
this.status = processSummaryLine.status;
|
this.status = processSummaryLine.status;
|
||||||
@ -66,6 +68,8 @@ export class ProcessSummaryLine
|
|||||||
this.linkText = processSummaryLine.linkText;
|
this.linkText = processSummaryLine.linkText;
|
||||||
this.linkPostText = processSummaryLine.linkPostText;
|
this.linkPostText = processSummaryLine.linkPostText;
|
||||||
|
|
||||||
|
this.bulletsOfText = processSummaryLine.bulletsOfText;
|
||||||
|
|
||||||
this.filter = processSummaryLine.filter;
|
this.filter = processSummaryLine.filter;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -142,6 +146,13 @@ export class ProcessSummaryLine
|
|||||||
</span>
|
</span>
|
||||||
) : <span>{lastWord}</span>
|
) : <span>{lastWord}</span>
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
this.bulletsOfText && <ul style={{marginLeft: "2rem"}}>
|
||||||
|
{
|
||||||
|
this.bulletsOfText.map((bullet, index) => <li key={index}>{bullet}</li>)
|
||||||
|
}
|
||||||
|
</ul>
|
||||||
|
}
|
||||||
</ListItemText>
|
</ListItemText>
|
||||||
</Box>
|
</Box>
|
||||||
</ListItem>
|
</ListItem>
|
||||||
|
Reference in New Issue
Block a user