From 30d3fcdcb81464cf60a768f6b2fd62a5472ea93e Mon Sep 17 00:00:00 2001 From: Dessalines Date: Thu, 17 Nov 2022 18:56:45 -0500 Subject: [PATCH] Fix missing report shield. Fixes #842 --- 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 ec68e99b..06da94df 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 );