From: Dessalines Date: Thu, 17 Nov 2022 23:59:49 +0000 (-0500) Subject: Fix missing report shield. Fixes #842 (#855) X-Git-Url: http://these/git/%7Burl.unwrap%28%29%7D?a=commitdiff_plain;h=03045c2e0493f5eead0a8b0d2aa9afa35d169844;p=lemmy-ui.git Fix missing report shield. Fixes #842 (#855) --- diff --git a/src/shared/components/app/navbar.tsx b/src/shared/components/app/navbar.tsx index ec68e99..06da94d 100644 --- a/src/shared/components/app/navbar.tsx +++ b/src/shared/components/app/navbar.tsx @@ -517,6 +517,7 @@ export class Navbar extends Component { get moderatesSomething(): boolean { return ( + amAdmin() || UserService.Instance.myUserInfo.map(m => m.moderates).unwrapOr([]) .length > 0 );