mirror of
https://github.com/opensupports/opensupports.git
synced 2025-07-27 07:44:29 +02:00
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…
x
Reference in New Issue
Block a user