Fixing a bug with listing type

This commit is contained in:
Dessalines 2019-04-17 12:58:14 -07:00
parent 04f64184f6
commit 1f657cbdba

View file

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