diff --git a/packages/edit-site/src/components/posts-app/posts-list.js b/packages/edit-site/src/components/posts-app/posts-list.js index 56fcf23e500ba..c4ee030173092 100644 --- a/packages/edit-site/src/components/posts-app/posts-list.js +++ b/packages/edit-site/src/components/posts-app/posts-list.js @@ -230,11 +230,13 @@ function PostAuthorField( { item, viewType } ) { }, [ item ] ); - const withIcon = viewType !== LAYOUT_LIST; + + const withAuthorImage = viewType !== LAYOUT_LIST && imageUrl; + const withAuthorIcon = viewType !== LAYOUT_LIST && ! imageUrl; const [ isImageLoaded, setIsImageLoaded ] = useState( false ); return ( - { withIcon && imageUrl && ( + { withAuthorImage && (
) } - { withIcon && ! imageUrl && ( + { withAuthorIcon && (