From 03045c2e0493f5eead0a8b0d2aa9afa35d169844 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Thu, 17 Nov 2022 18:59:49 -0500 Subject: [PATCH] Fix missing report shield. Fixes #842 (#855) --- src/shared/components/app/navbar.tsx | 1 + 1 file changed, 1 insertion(+) 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 ); -- 2.44.1