mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-11 10:33:06 +00:00
Fixing a bug with listing type
This commit is contained in:
parent
f9bf4ad7e3
commit
e1289050fa
|
@ -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