diff options
author | Dessalines <tyhou13@gmx.com> | 2019-04-22 09:24:13 -0700 |
---|---|---|
committer | Dessalines <tyhou13@gmx.com> | 2019-04-22 09:24:13 -0700 |
commit | 466f988f47d858274c6de562a2ecc4ec6466bd4d (patch) | |
tree | 1d92e0775c0bf8be7b1d88ab9302d5314b691d9d /ui/src/components/modlog.tsx | |
parent | 1fce49ceefa685ac00d469a597748123df98f128 (diff) |
Adding document titles.
- Fixes #100
Diffstat (limited to 'ui/src/components/modlog.tsx')
-rw-r--r-- | ui/src/components/modlog.tsx | 4 |
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"); |