mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
Audit Log: Fixed bad reference to linked entity item
This commit is contained in:
parent
67df127c26
commit
d54c7b4783
@ -94,8 +94,8 @@
|
||||
class="mr-xs hide-over-m">{{ trans('settings.audit_table_event') }}
|
||||
:</strong> {{ $activity->type }}</div>
|
||||
<div class="flex-3 px-m py-xxs min-width-l">
|
||||
@if($activity->entity)
|
||||
@include('entities.icon-link', ['entity' => $activity->entity])
|
||||
@if($activity->loggable instanceof \BookStack\Entities\Models\Entity)
|
||||
@include('entities.icon-link', ['entity' => $activity->loggable])
|
||||
@elseif($activity->detail && $activity->isForEntity())
|
||||
<div>
|
||||
{{ trans('settings.audit_deleted_item') }} <br>
|
||||
|
Loading…
Reference in New Issue
Block a user