Skip to content

Commit

Permalink
Merge pull request #64 from tomatophp/develop
Browse files Browse the repository at this point in the history
fix profile filters
  • Loading branch information
3x1io committed Apr 5, 2024
2 parents 2eb673a + aa0f09a commit 465c8e4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
@if($link)
<swiper-slide class="club-swiper-slide" >
<div class="swiper-slide">
<Link preserve-scroll href="{{ $account ? url($account) : url('profile') . '?type='.$filter }}"
<Link preserve-scroll href="{{ $account ? url($account) . '?type='.$filter : url('profile') . '?type='.$filter }}"
{{ $attributes->class([
"px-4 md:px-6 py-2 flex flex-col text-center justify-center gap-2 border border-zinc-700 rounded-lg shadow-sm",
"font-bold bg-zinc-800" => (request()->has('type') && request()->get('type') === $filter),
Expand Down

0 comments on commit 465c8e4

Please sign in to comment.