mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-22 12:21:13 +00:00
Fixing switch user navbar info remnant. Fixes #128
This commit is contained in:
parent
0949244d6c
commit
829b617b17
1 changed files with 1 additions and 1 deletions
|
@ -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