From b11dd9542fb55334d9509332a5c1d3a8a4290551 Mon Sep 17 00:00:00 2001 From: Luke Barnard Date: Thu, 10 Nov 2016 17:09:18 +0000 Subject: [PATCH] Add class to expand link for pointer and colour --- src/components/views/elements/MemberEventListSummary.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/views/elements/MemberEventListSummary.js b/src/components/views/elements/MemberEventListSummary.js index 53b715d623..da44d0063f 100644 --- a/src/components/views/elements/MemberEventListSummary.js +++ b/src/components/views/elements/MemberEventListSummary.js @@ -184,7 +184,9 @@ module.exports = React.createClass({ if (!fewEvents) { summary = this._renderSummary(joinEvents, leaveEvents); toggleButton = ( - {expanded?'collapse':'expand'} + + {expanded ? 'collapse' : 'expand'} + ); let plural = (joinEvents.length + leaveEvents.length > 0) ? 'others' : 'users'; let noun = (joinAndLeft === 1 ? 'user' : plural);