Cleanup radar files

This commit is contained in:
Tom Raithel
2017-02-16 10:45:28 +01:00
parent 4577385b5f
commit b5900ce3cc
13 changed files with 1 additions and 32 deletions

View File

@@ -231,7 +231,7 @@ const flagWithIsNew = (items, allReleases) => (
);
const isNewItem = (item, allReleases) => {
return item.revisions[0].release === allReleases[allReleases.length-1]
return item.revisions.length > 1 && item.revisions[0].release === allReleases[allReleases.length-1]
}
const addItemToRing = (ring = [], item) => ([