summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDessalines <tyhou13@gmx.com>2019-04-20 13:20:27 -0700
committerDessalines <tyhou13@gmx.com>2019-04-20 13:20:27 -0700
commitaeffd80727b87b59a8ffd3fb92a65262443f340e (patch)
tree6365940d7cf0965bf42547de03509f09ccfd3721
parentddabc4286118419280520c430adaf6d7f49ff9ca (diff)
Fixing issue with front page.
-rw-r--r--ui/src/components/post-listings.tsx2
-rw-r--r--ui/src/version.ts2
2 files changed, 2 insertions, 2 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
diff --git a/ui/src/version.ts b/ui/src/version.ts
index ff566c22..cb3fdf37 100644
--- a/ui/src/version.ts
+++ b/ui/src/version.ts
@@ -1 +1 @@
-export let version: string = "v0.0.3-0-gb841d43"; \ No newline at end of file
+export let version: string = "v0.0.3-3-gfe52d59"; \ No newline at end of file