Opened this issue 7 years ago · 0 comments
(Simplify) Here is an opportunity to use Object.values, simply:
Object.values
articles: Object.values(database.articles) .filter(article => article) .sort((article1, article2) => article2.id - article1.id)