]> Untitled Git - lemmy.git/commitdiff
Fixing a bug with listing type
authorDessalines <tyhou13@gmx.com>
Wed, 17 Apr 2019 19:58:14 +0000 (12:58 -0700)
committerDessalines <tyhou13@gmx.com>
Wed, 17 Apr 2019 19:58:14 +0000 (12:58 -0700)
ui/src/components/post-listings.tsx

index 5fbb6cbf861b998797c9f378f6da4109e62d3c02..224f92ce2fbb8bdf666c44026ac5a1689b99cc63 100644 (file)
@@ -153,7 +153,7 @@ export class PostListings extends Component<PostListingsProps, PostListingsState
       page: this.state.page,
       limit: fetchLimit,
       sort: SortType[this.state.sortType],
-      type_: ListingType[ListingType.Community]
+      type_: ListingType[this.state.type_]
     }
     WebSocketService.Instance.getPosts(getPostsForm);
   }