summaryrefslogtreecommitdiffstats
path: root/ui/src/components/modlog.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'ui/src/components/modlog.tsx')
-rw-r--r--ui/src/components/modlog.tsx4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/src/components/modlog.tsx b/ui/src/components/modlog.tsx
index 7145b4f6..55df617a 100644
--- a/ui/src/components/modlog.tsx
+++ b/ui/src/components/modlog.tsx
@@ -44,6 +44,10 @@ export class Modlog extends Component<any, ModlogState> {
this.subscription.unsubscribe();
}
+ componentDidMount() {
+ document.title = "Modlog - Lemmy";
+ }
+
setCombined(res: GetModlogResponse) {
let removed_posts = addTypeInfo(res.removed_posts, "removed_posts");
let locked_posts = addTypeInfo(res.locked_posts, "locked_posts");