Browse Source

Take username on user and not on profile

Whaxion 7 years ago
parent
commit
20a29acacf
1 changed files with 2 additions and 2 deletions
  1. 2 2
      resources/views/admin/users/home.blade.php

+ 2 - 2
resources/views/admin/users/home.blade.php

@@ -22,7 +22,7 @@
       <tr>
       <tr>
         <th scope="row">
         <th scope="row">
           <a href="{{$user->url()}}">
           <a href="{{$user->url()}}">
-            {{$user->profile->username}}
+            {{$user->username}}
           </a>
           </a>
         </th>
         </th>
         <td>{{$user->profile->statuses->count()}}</td>
         <td>{{$user->profile->statuses->count()}}</td>
@@ -48,4 +48,4 @@
       });
       });
     });
     });
   </script>
   </script>
-@endpush
+@endpush