diff --git a/src/shared/components/navbar.tsx b/src/shared/components/navbar.tsx index ea191b8f..b4d2cbe5 100644 --- a/src/shared/components/navbar.tsx +++ b/src/shared/components/navbar.tsx @@ -173,7 +173,7 @@ export class Navbar extends Component { // TODO class active corresponding to current page navbar() { - let user = this.props.site_res.my_user || UserService.Instance.user; + let user = UserService.Instance.user || this.props.site_res.my_user; return (