Fixing a bug with listing type

pull/722/head
Dessalines 2019-04-17 12:58:14 -07:00
parent 04f64184f6
commit 1f657cbdba
1 changed files with 1 additions and 1 deletions

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);
} }