From b56ff24a7d1aaa6f5acac594b6a35861e1e884a3 Mon Sep 17 00:00:00 2001 From: Maxi Redigonda Date: Sat, 17 Nov 2018 12:21:07 -0300 Subject: [PATCH] Parses text from the content of a ticket to add links to mentioned tickets --- client/src/app-components/ticket-viewer.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/src/app-components/ticket-viewer.js b/client/src/app-components/ticket-viewer.js index 79cf0048..cafe0b0e 100644 --- a/client/src/app-components/ticket-viewer.js +++ b/client/src/app-components/ticket-viewer.js @@ -7,6 +7,7 @@ import AdminDataActions from 'actions/admin-data-actions'; import i18n from 'lib-app/i18n'; import API from 'lib-app/api-call'; import SessionStore from 'lib-app/session-store'; +import MentionsParser from 'lib-app/mentions-parser'; import TicketEvent from 'app-components/ticket-event'; import AreYouSure from 'app-components/are-you-sure'; @@ -73,7 +74,7 @@ class TicketViewer extends React.Component { {this.props.editable ? this.renderEditableHeaders() : this.renderHeaders()}
- +
{ticket.events && ticket.events.map(this.renderTicketEvent.bind(this))}