diff --git a/routes/_components/Layout.html b/routes/_components/Layout.html index e173fa50..a22b5d8a 100644 --- a/routes/_components/Layout.html +++ b/routes/_components/Layout.html @@ -29,6 +29,8 @@ firstTime = false this.refs.container.focus() } + let { page } = this.get() + this.store.set({currentPage: page}) }, store: () => store } diff --git a/routes/_components/Nav.html b/routes/_components/Nav.html index f3eabb5f..b9b9e1fa 100644 --- a/routes/_components/Nav.html +++ b/routes/_components/Nav.html @@ -1,37 +1,16 @@ diff --git a/routes/_components/NavItem.html b/routes/_components/NavItem.html index a08d1ce7..c94ffc39 100644 --- a/routes/_components/NavItem.html +++ b/routes/_components/NavItem.html @@ -3,28 +3,41 @@ aria-current={selected} on:click="onClick(event)" {href} > - {#if name === 'notifications'} + +