feat: Show popular articles on widget home (#7604)

This commit is contained in:
Nithin David Thomas
2023-08-01 21:32:44 +05:30
committed by GitHub
parent 9efadf8804
commit e052a061f4
22 changed files with 299 additions and 64 deletions

View File

@@ -23,7 +23,6 @@ export const actions = {
try {
const { data } = await getMostReadArticles(slug, locale);
const { payload = [] } = data;
if (payload.length) {
commit('setArticles', payload);
}