Skip to content

Commit

Permalink
add validation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
punkestu committed Oct 31, 2024
1 parent 3cc13fb commit bd73911
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/components/header.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class="max-h-0 duration-300 absolute flex flex-col gap-1 bg-white mt-4 text-gray
@auth
<hr>
<a href="/rotasi/notification" class="flex">Notifikasi
@if (auth()->user()->profile->cabang->notreadnotifications->count() > 0)
@if (auth()->user()->profile->cabang && auth()->user()->profile->cabang->notreadnotifications->count() > 0)
<p class="bg-blue-500 w-2 h-2 rounded-full"></p>
@endif
</a>
Expand Down

0 comments on commit bd73911

Please sign in to comment.