feat: Add the ability to delete/archive articles (#5319)
This commit is contained in:
@@ -13,9 +13,11 @@ export const getters = {
|
||||
},
|
||||
allArticles: (...getterArguments) => {
|
||||
const [state, _getters] = getterArguments;
|
||||
const articles = state.articles.allIds.map(id => {
|
||||
return _getters.articleById(id);
|
||||
});
|
||||
const articles = state.articles.allIds
|
||||
.map(id => {
|
||||
return _getters.articleById(id);
|
||||
})
|
||||
.filter(article => article !== undefined);
|
||||
return articles;
|
||||
},
|
||||
getMeta: state => {
|
||||
|
||||
Reference in New Issue
Block a user