Skip to content

Commit

Permalink
Bug Fix
Browse files Browse the repository at this point in the history
Fixed Notification Bell icon - was showing when not logged in
  • Loading branch information
DLCIncluded committed Oct 26, 2021
1 parent a30d951 commit 437e855
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<i class="fas fa-chevron-circle-down" ></i>Menu
</div> -->
<div class="nav-container" ><!-- :class="showNav ? 'active' : ''" -->
<div class="nofication-bell" @click="forceRoute()">
<div class="nofication-bell" v-if="isLoggedIn" @click="forceRoute()">
<router-link to="/friends"><i class="far fa-bell cursor-pointer"> {{numRequests}}</i></router-link>
</div>
<h2>Shit To Do</h2>
Expand All @@ -26,7 +26,8 @@
<router-view/>

<notifications-panel></notifications-panel>
<div class="list-nav" v-if="page!='Lists'">

<div class="list-nav" v-if="page!='Lists'" @click="showNav=false">
<div>
<i class="fas fa-users fa-2x" @click="this.$router.push('/friends')"></i>
</div>
Expand Down

0 comments on commit 437e855

Please sign in to comment.