diff --git a/js/src/forum/addProfilePane.ts b/js/src/forum/addProfilePane.ts index 33ae1e2..5488b2c 100644 --- a/js/src/forum/addProfilePane.ts +++ b/js/src/forum/addProfilePane.ts @@ -21,7 +21,7 @@ export default function addProfilePane() { }; extend(UserPage.prototype, 'navItems', function (items: ItemList) { - if (app.forum.attribute('canViewMasquerade') || this.user?.canEditMasqueradeProfile()) { + if (app.forum.attribute('canViewMasquerade') || this.user?.canEditMasqueradeProfile()) { const edit = this.user?.canEditMasqueradeProfile(); items.add(