mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-12-24 18:15:20 +00:00
parent
ee0cdde3b8
commit
03045c2e04
|
@ -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
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue