Running cargo update.
This commit is contained in:
parent
966a6fc70b
commit
072952e1a6
2 changed files with 524 additions and 549 deletions
1070
server/Cargo.lock
generated
vendored
1070
server/Cargo.lock
generated
vendored
File diff suppressed because it is too large
Load diff
5
ui/src/components/main.tsx
vendored
5
ui/src/components/main.tsx
vendored
|
@ -51,7 +51,6 @@ import {
|
||||||
createPostLikeFindRes,
|
createPostLikeFindRes,
|
||||||
editPostFindRes,
|
editPostFindRes,
|
||||||
commentsToFlatNodes,
|
commentsToFlatNodes,
|
||||||
commentSortSortType,
|
|
||||||
setupTippy,
|
setupTippy,
|
||||||
} from '../utils';
|
} from '../utils';
|
||||||
import { i18n } from '../i18next';
|
import { i18n } from '../i18next';
|
||||||
|
@ -649,9 +648,9 @@ export class Main extends Component<any, MainState> {
|
||||||
UserService.Instance.user.show_nsfw)
|
UserService.Instance.user.show_nsfw)
|
||||||
) {
|
) {
|
||||||
this.state.posts.unshift(data.post);
|
this.state.posts.unshift(data.post);
|
||||||
|
}
|
||||||
|
}
|
||||||
this.setState(this.state);
|
this.setState(this.state);
|
||||||
}
|
|
||||||
}
|
|
||||||
} else if (res.op == UserOperation.EditPost) {
|
} else if (res.op == UserOperation.EditPost) {
|
||||||
let data = res.data as PostResponse;
|
let data = res.data as PostResponse;
|
||||||
editPostFindRes(data, this.state.posts);
|
editPostFindRes(data, this.state.posts);
|
||||||
|
|
Loading…
Reference in a new issue