mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-12-26 21:01:28 +00:00
parent
6cca9a9874
commit
87c30705ef
1 changed files with 2 additions and 1 deletions
|
@ -161,7 +161,6 @@ export class Post extends Component<any, PostState> {
|
|||
}
|
||||
|
||||
fetchPost() {
|
||||
this.setState({ commentsRes: undefined, postRes: undefined });
|
||||
let auth = myAuth(false);
|
||||
let postForm: GetPost = {
|
||||
id: this.state.postId,
|
||||
|
@ -498,6 +497,8 @@ export class Post extends Component<any, PostState> {
|
|||
i.setState({
|
||||
commentSort: CommentSortType[event.target.value],
|
||||
commentViewType: CommentViewType.Tree,
|
||||
commentsRes: undefined,
|
||||
postRes: undefined,
|
||||
});
|
||||
i.fetchPost();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue