Fixing switch user navbar info remnant. Fixes #128

This commit is contained in:
Dessalines 2021-01-23 23:41:04 -05:00
parent 0949244d6c
commit 829b617b17

View file

@ -173,7 +173,7 @@ export class Navbar extends Component<NavbarProps, NavbarState> {
// 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 (
<nav class="navbar navbar-expand-lg navbar-light shadow-sm p-0 px-3">
<div class="container">