admin(ui): display dynamic user information on sidebar
This commit is contained in:
parent
9eed88b430
commit
2352ef0369
9 changed files with 57 additions and 17 deletions
|
@ -21,7 +21,7 @@
|
|||
@section('user-data')
|
||||
@if(!is_null(Auth::user()))
|
||||
<script>
|
||||
window.PterodactylUser = {!! json_encode(Auth::user()->toVueObject()) !!};
|
||||
window.PterodactylUser = {!! json_encode(Auth::user()->toReactObject()) !!};
|
||||
</script>
|
||||
@endif
|
||||
@if(!empty($siteConfiguration))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue