mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-10-01 01:36:12 -04:00
Removed redundant erroneous check
This commit is contained in:
parent
38381ba287
commit
9155469e8a
5
ui/src/components/post-listing.tsx
vendored
5
ui/src/components/post-listing.tsx
vendored
@ -163,10 +163,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
||||
if (isImage(post.url)) {
|
||||
if (post.url.includes('pictshare')) {
|
||||
return pictshareImage(post.url, thumbnail);
|
||||
} else if (
|
||||
post.thumbnail_url &&
|
||||
post.thumbnail_url.includes('pictshare')
|
||||
) {
|
||||
} else if (post.thumbnail_url) {
|
||||
return pictshareImage(post.thumbnail_url, thumbnail);
|
||||
} else {
|
||||
return post.url;
|
||||
|
Loading…
Reference in New Issue
Block a user