Explorar el Código

Update activity view

Daniel Supernault hace 6 años
padre
commit
d15e8f12bd
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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