mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-12-03 01:31:14 +00:00
Fix missing report shield. Fixes #842
This commit is contained in:
parent
ee0cdde3b8
commit
30d3fcdcb8
1 changed files with 1 additions and 0 deletions
|
@ -517,6 +517,7 @@ export class Navbar extends Component<NavbarProps, NavbarState> {
|
||||||
|
|
||||||
get moderatesSomething(): boolean {
|
get moderatesSomething(): boolean {
|
||||||
return (
|
return (
|
||||||
|
amAdmin() ||
|
||||||
UserService.Instance.myUserInfo.map(m => m.moderates).unwrapOr([])
|
UserService.Instance.myUserInfo.map(m => m.moderates).unwrapOr([])
|
||||||
.length > 0
|
.length > 0
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue