We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67df127 commit d54c7b4Copy full SHA for d54c7b4
resources/views/settings/audit.blade.php
@@ -94,8 +94,8 @@ class="text-item">{{ $type }}</a></li>
94
class="mr-xs hide-over-m">{{ trans('settings.audit_table_event') }}
95
:</strong> {{ $activity->type }}</div>
96
<div class="flex-3 px-m py-xxs min-width-l">
97
- @if($activity->entity)
98
- @include('entities.icon-link', ['entity' => $activity->entity])
+ @if($activity->loggable instanceof \BookStack\Entities\Models\Entity)
+ @include('entities.icon-link', ['entity' => $activity->loggable])
99
@elseif($activity->detail && $activity->isForEntity())
100
<div>
101
{{ trans('settings.audit_deleted_item') }} <br>
0 commit comments