Skip to content

Commit

Permalink
fix missing / in class active status of user sublists
Browse files Browse the repository at this point in the history
  • Loading branch information
JuniJwi committed Nov 15, 2020
1 parent d1ab399 commit a35cadf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/user/_sidebar.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<div class="sidebar-item"><a href="{{ $user->url.'/characters' }}" class="{{ set_active('user/'.$user->name.'/characters*') }}">Characters</a></div>
@if(isset($sublists) && $sublists->count() > 0)
@foreach($sublists as $sublist)
<div class="sidebar-item"><a href="{{ $user->url.'/sublist/'.$sublist->key }}" class="{{ set_active('user/'.$user->name.'sublist/'.$sublist->key) }}">{{ $sublist->name }}</a></div>
<div class="sidebar-item"><a href="{{ $user->url.'/sublist/'.$sublist->key }}" class="{{ set_active('user/'.$user->name.'/sublist/'.$sublist->key) }}">{{ $sublist->name }}</a></div>
@endforeach
@endif
<div class="sidebar-item"><a href="{{ $user->url.'/myos' }}" class="{{ set_active('user/'.$user->name.'/myos*') }}">MYO Slots</a></div>
Expand Down

0 comments on commit a35cadf

Please sign in to comment.