mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-18 02:21:47 -05:00
Fixed disapparing Ghost icon in the Recommendation list (#18257)
no issue
This commit is contained in:
parent
163263a27f
commit
62bf3e068d
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ const RecommendationItem: React.FC<{recommendation: Recommendation}> = ({recomme
|
|||
});
|
||||
};
|
||||
|
||||
const showSubscribes = recommendation.one_click_subscribe && (recommendation.count?.subscribers || recommendation.count?.clicks === 0);
|
||||
const showSubscribes = recommendation.one_click_subscribe;
|
||||
const count = (showSubscribes ? recommendation.count?.subscribers : recommendation.count?.clicks) || 0;
|
||||
|
||||
return (
|
||||
|
|
Loading…
Add table
Reference in a new issue