修复 用户名显示问题

This commit is contained in:
iVampireSP.com 2023-02-01 13:47:32 +08:00
parent 1411e55140
commit 2d466026ab
No known key found for this signature in database
GPG Key ID: 2F7B001CA27A8132

View File

@ -36,7 +36,7 @@
<div class="card-header d-flex w-100 justify-content-between">
@if ($reply->role === 'user')
@if ($reply->user)
<a href="{{ route('admin.users.edit', $reply->user) }}">{{ $workOrder->user->name }}</a>
<a href="{{ route('admin.users.edit', $reply->user) }}">{{ $reply->user->name }}</a>
@else
{{ $reply->name }}
@endif