Removed redundant erroneous check
This commit is contained in:
parent
663992f34c
commit
ca6ae959a2
1 changed files with 1 additions and 4 deletions
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 (isImage(post.url)) {
|
||||||
if (post.url.includes('pictshare')) {
|
if (post.url.includes('pictshare')) {
|
||||||
return pictshareImage(post.url, thumbnail);
|
return pictshareImage(post.url, thumbnail);
|
||||||
} else if (
|
} else if (post.thumbnail_url) {
|
||||||
post.thumbnail_url &&
|
|
||||||
post.thumbnail_url.includes('pictshare')
|
|
||||||
) {
|
|
||||||
return pictshareImage(post.thumbnail_url, thumbnail);
|
return pictshareImage(post.thumbnail_url, thumbnail);
|
||||||
} else {
|
} else {
|
||||||
return post.url;
|
return post.url;
|
||||||
|
|
Loading…
Reference in a new issue