mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-27 08:16:20 +00:00
fix lack of modlog refetch on mount (#1490)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
This commit is contained in:
parent
39f3f2b2e5
commit
91a07e79fc
|
@ -686,6 +686,10 @@ export class Modlog extends Component<
|
|||
}
|
||||
}
|
||||
|
||||
async componentDidMount() {
|
||||
await this.refetch();
|
||||
}
|
||||
|
||||
get combined() {
|
||||
const res = this.state.res;
|
||||
const combined = res.state == "success" ? buildCombined(res.data) : [];
|
||||
|
|
Loading…
Reference in a new issue