]> Untitled Git - lemmy.git/commitdiff
Fixing issue with front page.
authorDessalines <tyhou13@gmx.com>
Sat, 20 Apr 2019 20:20:27 +0000 (13:20 -0700)
committerDessalines <tyhou13@gmx.com>
Sat, 20 Apr 2019 20:20:27 +0000 (13:20 -0700)
ui/src/components/post-listings.tsx
ui/src/version.ts

index 37b7a648b7940cad308341ada26a67282291b68d..b60b05d8e055b252b153ce6590264db21f04e9b1 100644 (file)
@@ -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
index ff566c22e10d07edabef4978fbdd1ba10fb6d5ab..cb3fdf37e99c817aafb443a24b00f969b6ee4019 100644 (file)
@@ -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