mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-22 06:36:14 +00:00
Fixing a bug with listing type
This commit is contained in:
parent
04f64184f6
commit
1f657cbdba
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue