mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-01 10:09:56 +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
1 changed files with 4 additions and 0 deletions
|
@ -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