...
|
...
|
@@ -121,7 +121,7 @@ const _formatArticle = (articleData, showTag, showAuthor, channel) => { |
|
|
let result = {
|
|
|
id: articleData.id,
|
|
|
classification: articleData.category_name,
|
|
|
isReco: articleData.is_recommended ? true : false,
|
|
|
isReco: articleData.is_recommended && Number(articleData.is_recommended) === 1 ? true : false,
|
|
|
url: ghelper.getArticleUrl(articleData.url, articleData.id, channel),
|
|
|
img: helpers.image(articleData.src, width, height, 1),
|
|
|
isSquareImg: isSquareImage,
|
...
|
...
|
|