mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-24 14:43:08 +03:00
Fixed disapparing Ghost icon in the Recommendation list (#18257)
no issue
This commit is contained in:
parent
163263a27f
commit
62bf3e068d
@ -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…
Reference in New Issue
Block a user