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:
parent
67df127c26
commit
d54c7b4783
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user