1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2024-10-29 23:22:34 +01:00

Audit Log: Fixed bad reference to linked entity item

This commit is contained in:
Dan Brown 2024-05-05 16:05:21 +01:00
parent 67df127c26
commit d54c7b4783
No known key found for this signature in database
GPG Key ID: 46D9F943C24A2EF9

View File

@ -94,8 +94,8 @@
class="mr-xs hide-over-m">{{ trans('settings.audit_table_event') }} class="mr-xs hide-over-m">{{ trans('settings.audit_table_event') }}
:</strong> {{ $activity->type }}</div> :</strong> {{ $activity->type }}</div>
<div class="flex-3 px-m py-xxs min-width-l"> <div class="flex-3 px-m py-xxs min-width-l">
@if($activity->entity) @if($activity->loggable instanceof \BookStack\Entities\Models\Entity)
@include('entities.icon-link', ['entity' => $activity->entity]) @include('entities.icon-link', ['entity' => $activity->loggable])
@elseif($activity->detail && $activity->isForEntity()) @elseif($activity->detail && $activity->isForEntity())
<div> <div>
{{ trans('settings.audit_deleted_item') }} <br> {{ trans('settings.audit_deleted_item') }} <br>