From b0378531c61fb6ed71b3df52aa6c8d6743691802 Mon Sep 17 00:00:00 2001 From: Tom Raithel Date: Mon, 30 Oct 2017 15:15:54 +0100 Subject: [PATCH] Add support for isFeatured flag --- common/radar.js | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/common/radar.js b/common/radar.js index 0957a20..3e24f6a 100644 --- a/common/radar.js +++ b/common/radar.js @@ -150,9 +150,6 @@ const flagWithIsNew = (items, allReleases) => [], ); -const isNewItem = (item, allReleases) => { - return ( - item.revisions.length === 0 || - item.revisions[0].release === allReleases[allReleases.length - 1] - ); -}; +const isNewItem = (item, allReleases) => + item.revisions.length === 0 || + item.revisions[0].release === allReleases[allReleases.length - 1];