From 96a7f550b4d27dbf8a50f6b692b4be9d734423e5 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 28 Jun 2018 16:33:47 +0300 Subject: Revert "empty recommendations fix" This reverts commit 1aa6f0fa0905e9146235ba6318949437283595c3. --- vnext/src/components/Thread.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vnext') diff --git a/vnext/src/components/Thread.js b/vnext/src/components/Thread.js index fd10e86f..abb993f2 100644 --- a/vnext/src/components/Thread.js +++ b/vnext/src/components/Thread.js @@ -154,12 +154,12 @@ const linkStyle = { function Recommendations(props) { const recomms = props.src; - return recomms && recomms.length > 0 && ( + return recomms && (
{`Recommended by (${recomms.length}): `} { recomms.map(it => ( {it} - )).reduce((prev, curr) => [prev, ', ', curr], 0) + )).reduce((prev, curr) => [prev, ', ', curr]) }
) || null; -- cgit v1.2.3