|
|
|
@ -69,12 +69,13 @@ export class Navbar extends Component<any, NavbarState> {
|
|
|
|
|
{this.state.isLoggedIn ?
|
|
|
|
|
<>
|
|
|
|
|
{
|
|
|
|
|
<li className="nav-item">
|
|
|
|
|
<Link class="nav-link" to="/inbox">🖂
|
|
|
|
|
{this.state.unreadCount> 0 && <span class="ml-1 badge badge-light">{this.state.unreadCount}</span>}
|
|
|
|
|
</Link>
|
|
|
|
|
</li>
|
|
|
|
|
}
|
|
|
|
|
<li className="nav-item">
|
|
|
|
|
<Link class="inbox nav-link" to="/inbox">
|
|
|
|
|
<svg class="icon"><use xlinkHref="#icon-mail"></use></svg>
|
|
|
|
|
{this.state.unreadCount> 0 && <span class="ml-1 badge badge-light">{this.state.unreadCount}</span>}
|
|
|
|
|
</Link>
|
|
|
|
|
</li>
|
|
|
|
|
}
|
|
|
|
|
<li className={`nav-item dropdown ${this.state.expandUserDropdown && 'show'}`}>
|
|
|
|
|
<a class="pointer nav-link dropdown-toggle" onClick={linkEvent(this, this.expandUserDropdown)} role="button">
|
|
|
|
|
{UserService.Instance.user.username}
|
|
|
|
|