summaryrefslogtreecommitdiffstats
path: root/ui/src/components/navbar.tsx
diff options
context:
space:
mode:
authorDessalines <tyhou13@gmx.com>2019-04-20 15:49:23 -0700
committerDessalines <tyhou13@gmx.com>2019-04-20 15:49:23 -0700
commit8a4b2324a1739691fef34f5aa5eb2afbd5e68bee (patch)
tree70eff253121610fca25176faf1bac86e7e370db7 /ui/src/components/navbar.tsx
parent68db352184a5b662e964862c3e95476e7a5b769f (diff)
Fixing envelope icon.
- Fixes #90
Diffstat (limited to 'ui/src/components/navbar.tsx')
-rw-r--r--ui/src/components/navbar.tsx13
1 files changed, 7 insertions, 6 deletions
diff --git a/ui/src/components/navbar.tsx b/ui/src/components/navbar.tsx
index 5fc6ed7e..67a9866a 100644
--- a/ui/src/components/navbar.tsx
+++ b/ui/src/components/navbar.tsx
@@ -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}