fixed navbar stuff

This commit is contained in:
2020-05-27 04:59:52 -05:00
parent 2e356404f9
commit 85b3f74741
2 changed files with 1 additions and 2 deletions

View File

@@ -133,7 +133,6 @@ class User extends Authenticatable
}
public function srpOpen() {
return SRPShip::where([
'character_id' => $this->character_id,
'approved' => 'Under Review',

View File

@@ -41,7 +41,7 @@
</a>
<a class="nav-link" href="/profile">
<i class="far fa-bell"></i>
<span class="badge badge-primary navbar-badge">{{ auth()->user()->srpAccepted() }}</span> <!-- SRP Requests Accepted -->
<span class="badge badge-primary navbar-badge">{{ auth()->user()->srpApproved() }}</span> <!-- SRP Requests Accepted -->
</a>
<a class="nav-link" href="/logout">Logout</a>
</li>