Fix issue where the user login on an action might be empty

This commit is contained in:
Alex Thomassen 2023-12-26 20:48:51 +00:00
parent 70fa331f46
commit ce2024b943
Signed by: Alex
GPG Key ID: 10BD786B5F6FF5DE

View File

@ -27,7 +27,11 @@
</code> </code>
</td> </td>
@endif @endif
<td class="px-4 py-2 border">{{ $action->user->login }}</td> <td class="px-4 py-2 border">
@if (!empty($action->user))
{{ $action->user->login }}
@endif
</td>
@if ($showChannel) @if ($showChannel)
@php @php
$channel = $action->channel->username(); $channel = $action->channel->username();