From 4a71bb7c241e64dd722fa873385a2061d031d5e3 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Mon, 18 Jun 2018 21:45:14 +0300 Subject: fix recommendations list --- vnext/src/components/Thread.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'vnext/src') diff --git a/vnext/src/components/Thread.js b/vnext/src/components/Thread.js index b847d618..64759122 100644 --- a/vnext/src/components/Thread.js +++ b/vnext/src/components/Thread.js @@ -68,12 +68,12 @@ export default class Thread extends React.Component { { - msg.recomm && ( -
{`Recommended by (${msg.recomm.length}):`} + msg.recommendations && ( +
{`Recommended by (${msg.recommendations.length}): `} { - msg.recomm.map((it, index) => ( - {it} - )) + msg.recommendations.map(it => ( + {it} + )).reduce((prev, curr) => [prev, ', ', curr]) }
) -- cgit v1.2.3