diff options
author | Dessalines <tyhou13@gmx.com> | 2019-04-20 13:20:27 -0700 |
---|---|---|
committer | Dessalines <tyhou13@gmx.com> | 2019-04-20 13:20:27 -0700 |
commit | aeffd80727b87b59a8ffd3fb92a65262443f340e (patch) | |
tree | 6365940d7cf0965bf42547de03509f09ccfd3721 /ui/src/components/post-listings.tsx | |
parent | ddabc4286118419280520c430adaf6d7f49ff9ca (diff) |
Fixing issue with front page.
Diffstat (limited to 'ui/src/components/post-listings.tsx')
-rw-r--r-- | ui/src/components/post-listings.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/src/components/post-listings.tsx b/ui/src/components/post-listings.tsx index 37b7a648..b60b05d8 100644 --- a/ui/src/components/post-listings.tsx +++ b/ui/src/components/post-listings.tsx @@ -28,7 +28,7 @@ export class PostListings extends Component<PostListingsProps, PostListingsState moderators: [], posts: [], sortType: SortType.Hot, - type_: (this.props.type !== undefined) ? this.props.type : + type_: (this.props.type !== undefined && UserService.Instance.user) ? this.props.type : this.props.communityId ? ListingType.Community : UserService.Instance.user |