Parses ticket comments to create links for mentioned tickets
This commit is contained in:
parent
b56ff24a7d
commit
e1dffaef16
|
@ -207,6 +207,9 @@ class TicketViewer extends React.Component {
|
|||
}
|
||||
|
||||
renderTicketEvent(options, index) {
|
||||
if (this.props.userStaff) {
|
||||
options.content = MentionsParser.parse(options.content);
|
||||
}
|
||||
return (
|
||||
<TicketEvent {...options} author={(!_.isEmpty(options.author)) ? options.author : this.props.ticket.author} key={index} />
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue