1
0
Эх сурвалжийг харах

Take username on user and not on profile

Whaxion 7 жил өмнө
parent
commit
20a29acacf

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

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