Skip to content

Commit

Permalink
[Fix] Notification Menu
Browse files Browse the repository at this point in the history
- Fixed notification menu crashing when creating a link to a notifier that doesn't exist
  • Loading branch information
kiritokatklian committed Mar 3, 2024
1 parent dc320e8 commit 4d66ea5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion resources/views/livewire/nav-notification.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ class="w-full h-full object-cover lazyload"
</div>
</div>

<a class="absolute w-full h-full" href="{{ route('profile.details', $notification->notifier) }}"></a>
@if ($notification->notifier)
<a class="absolute w-full h-full" href="{{ route('profile.details', $notification->notifier) }}"></a>
@endif
</div>
@break
@default
Expand Down

0 comments on commit 4d66ea5

Please sign in to comment.