pxlrbt / filament-activity-log

Spatie activity log integration into Filament
MIT License
144 stars 25 forks source link

fix: activities causer eager load #29

Closed fabpl closed 10 months ago

fabpl commented 10 months ago

When you use Preventing Lazy Loading configuration, activities resource page throw an Illuminate \ Database \ LazyLoadingViolationException.

To fix that, just add with('causer') after activities() call.

image

pxlrbt commented 10 months ago

Thanks!