Fix missing report shield. Fixes #842

This commit is contained in:
Dessalines 2022-11-17 18:56:45 -05:00
parent ee0cdde3b8
commit 30d3fcdcb8

View 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
);