]> Untitled Git - lemmy-ui.git/commitdiff
Fix missing report shield. Fixes #842 (#855)
authorDessalines <dessalines@users.noreply.github.com>
Thu, 17 Nov 2022 23:59:49 +0000 (18:59 -0500)
committerGitHub <noreply@github.com>
Thu, 17 Nov 2022 23:59:49 +0000 (18:59 -0500)
src/shared/components/app/navbar.tsx

index ec68e99b27b457f3351d754aea9a8254a34afe6d..06da94dfc2514e4bedc13181e08c31231c5c524e 100644 (file)
@@ -517,6 +517,7 @@ export class Navbar extends Component<NavbarProps, NavbarState> {
 
   get moderatesSomething(): boolean {
     return (
+      amAdmin() ||
       UserService.Instance.myUserInfo.map(m => m.moderates).unwrapOr([])
         .length > 0
     );