mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-22 06:36:17 +00:00
Fixing switch user navbar info remnant. Fixes #128
This commit is contained in:
parent
0949244d6c
commit
829b617b17
|
@ -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">
|
||||
|
|
Loading…
Reference in a new issue