Browse Source

Update activity view

Daniel Supernault 6 years ago
parent
commit
d15e8f12bd
1 changed files with 2 additions and 0 deletions
  1. 2 0
      resources/views/account/activity.blade.php

+ 2 - 0
resources/views/account/activity.blade.php

@@ -89,9 +89,11 @@
           </span>
           <span class="float-right notification-action">
             @if($notification->item_id && $notification->item_type == 'App\Status')
+              @if($notification->status->parent()) 
               <a href="{{$notification->status->parent()->url()}}">
                 <div class="notification-image" style="background-image: url('{{$notification->status->parent()->thumb()}}')"></div>
               </a>
+              @endif
             @endif
           </span>
         @break