From e1dffaef1694b6427c52b9f99e88e837a99a7cf7 Mon Sep 17 00:00:00 2001 From: Maxi Redigonda Date: Sat, 17 Nov 2018 12:30:52 -0300 Subject: [PATCH] Parses ticket comments to create links for mentioned tickets --- client/src/app-components/ticket-viewer.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/src/app-components/ticket-viewer.js b/client/src/app-components/ticket-viewer.js index cafe0b0e..8429489b 100644 --- a/client/src/app-components/ticket-viewer.js +++ b/client/src/app-components/ticket-viewer.js @@ -207,6 +207,9 @@ class TicketViewer extends React.Component { } renderTicketEvent(options, index) { + if (this.props.userStaff) { + options.content = MentionsParser.parse(options.content); + } return ( );